| Bookmark Name | Actions |
|---|
Sample Scenarios
This section shows you sample scenerios, logging screen captures and log details.
By default, logging is enabled for all the components, which use TAFC logging framework. The following table displays the various scenarios and the respective script to perform.
| S.No | Scenario | Script |
|---|---|---|
| 1 |
|
[initchecks] LOGGING=OFF /// Below section is optional [logger] LOGGING=FILE |
| 2 |
|
[initchecks] LOGGING=FILE [logger] LOGGING=OFF |
| 3 |
Set minimum log level for
|
[initchecks] MINLOGLEVEL_FILE=INFO [logger] MINLOGLEVEL_FILE=WARNING |
The following are the sample screen captures of:
- Log files on Windows and UNIXNOTE: The link files such as initchecks.INFO, initchecks.WARNING and initchecks.ERROR may not be available always. They are not available in the versions of windows below WINDOWS VISTA.
- Actual file

- EventViewer window

The following table shows you the sample log details.
|
Section |
Variables |
Values |
Log Files Created |
Windows Event Log Status |
|---|---|---|---|---|
|
[agent] |
LOGGING |
FILE |
INFO, WARNING |
|
|
STDERRTHRESHOLD |
FATAL |
|
||
|
MINLOGLEVEL_EVENTVIEWER |
INFO |
|
||
|
[jbc] |
LOGGING |
FILE |
INFO, WARNING, ERROR |
|
|
MINLOGLEVEL_FILE |
INFO |
|
||
|
ALSOLOGTO_EVENTVIEWER |
TRUE |
|
||
|
[logger] |
LOGGING |
OFF |
- |
ERROR - E0127 1:02:09.852566 1796 tafc_logger_c_api.cpp:33] sample.b:5 [FUND-TRANSFER] Test Program for JBC-FUND-TRANSFER |
|
[jBC] |
LOGGING |
FILE |
jBC.MAAD11012639.dhanyaj.log.ERROR.20120127-110209, jBC.MAAD11012639.dhanyaj.log.INFO.20120127-110209, jBC.MAAD11012639.dhanyaj.log.WARNING.20120127-110209 |
|
|
[CUSTOMER] |
MINLOGLEVEL_FILE |
INFO |
INFO |
|
|
[ACCOUNT] |
MINLOGLEVEL_FILE |
ERROR |
NOT LOGGED |
|
|
[FUND-TRANSFER] |
MINLOGLEVEL_FILE |
WARNING |
INFO, WARNING, ERROR |
|
|
[logger] |
LOGGING |
OFF |
- |
NOT LOGGED |
|
[jBC] |
LOGGING |
OFF |
CUSTOMER.MAAD11012639.dhanyaj.log.ERROR.20120127-111835, CUSTOMER.MAAD11012639.dhanyaj.log.INFO.20120127-111835, CUSTOMER.MAAD11012639.dhanyaj.log.WARNING.20120127-111835 |
|
|
ALSOLOGTO_EVENTVIEWER |
TRUE |
- |
|
|
|
[CUSTOMER] |
MINLOGLEVEL_FILE |
INFO |
INFO |
|
|
[ACCOUNT] |
MINLOGLEVEL_FILE |
ERROR |
NOT LOGGED |
|
|
[FUND-TRANSFER] |
MINLOGLEVEL_FILE |
WARNING |
INFO, WARNING, ERROR |
|
Add Bookmark
save your best linksView Bookmarks
Visit your best linksIn this topic
Are you sure you want to log-off?