6 OFSAA Log Files
Information Logging in OFSAA is done using Log4J.
- UI/Web Logs:
<DEPLOYED LOCATION>/<Context>.ear/<Context>.war/logs
- Application Logs:
$FIC_HOME/logs
- Execution Logs:
/ftpshare/logs/<MISDATE>/<INFODOM>/<COMPONENT NAME>/<LOG FILE NAME>.log
Log File Format
In OFSAA, Log files have a standardized format, and you can read the logs using any Standard Log Analysis Tool. The Log Format is:
[GMT TIMESTAMP] [LOGGER LEVEL] [LOGGER LOCATION] [MODULE/COMPONENT] [LOGGED IN USER] [JAVA CLASS] <LOG MESSAGE>
Sample:
[25-04-18 10:08:41,066 GMT AM] [INFO ] [WEB] [UMM] [UMMUSER] [BUSINESSMETADATA] Inside createImplicitObjectsForAllInfodom
[25-04-18 10:08:41,069 GMT AM] [INFO ] [WEB] [UMM] [UMMUSER] [BUSINESSMETADATA] Call createImplicitObjectsForMapper for Infodom = TESTCHEF
[25-04-18 10:08:42,142 GMT AM] [DEBUG] [WEB] [UMM] [UMMUSER] [BUSINESSMETADATA] Source created successfully for InfodomTESTCHEF
[25-04-18 10:08:42,142 GMT AM] [INFO ] [WEB] [UMM] [UMMUSER] [BUSINESSMETADATA] Start - code added to create user group hierarchy for this Infodom
[25-04-18 10:08:42,142 GMT AM] [INFO ] [WEB] [UMM] [UMMUSER] [BUSINESSMETADATA] Inside createUserGroupHierarchyForInfodom
Purging of Logs
RevLog4jConfig.xml
file available in the
$FIC_HOME/conf/
folder. Each
Log
File
will have appenders in the RevLog4jConfig.xml
file and you can change
the attributes pertaining to this particular appender.
The default size of the Log files is 5000 KB and the number of maximum backup Log files retained is 5. You can configure both the default size and number of maximum Backup Log files. Increasing these parameters to a higher value should depend on the Server Hardware Configurations and may reduce the performance.
To configure the Log file size: