on 2010 Jul 14 7:58 PM
Hi All,
I have few question on AS Java logs.
- how many type of log files can be generated and what are they? (e.g - security audit log, security log, system log, etc)
- whether logs are activated by default? how to activate the log?
- how to extract logs? whether I can use ABAP itself or any other way to extract?
Thank you.
With Regards,
Gandhi Subramani
Security Audit log for AS java not generated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
OSS note 1278155 really helps a lot. I have few more questions :
1) I have format for security audit log. Can you give the file format of security log file?
2) Whether data in log file depends on OS where AS java server is installed?
(example : event date will be seconds since 1970-01-01 00:00:00 UTC in linux)
3) Any API's available for fetching the logs?
Thank you.
With Regards,
Gandhi Subramani
1) I have format for security audit log. Can you give the file format of security log file?
I checked here on a system, and there is no format defined. (if this is what you mean...)
2) Whether data in log file depends on OS where AS java server is installed?
(example : event date will be seconds since 1970-01-01 00:00:00 UTC in linux)
No, as far as I know (just checked a Windows system) the time stamp in the logfile is written in epoch format. (like you already mentioned)
Check http://www.epochconverter.com on how to convert epoch to a readable format.
3) Any API's available for fetching the logs?
That is very likely, but I don't know them... You could write a script yourself to analyze this log.
Kind regards,
Mark
Hi Mark,
Thank you for your reply.
I can see security logs getting generated but not the security audit log. Please let me know why security audit log is not getting generated for AS java. How to check the configuration for security audit log is correct?
Also a collector will load logs to external system, so whether I can use ABAP program to read AS java logs and store in an application server?
With Regards,
Gandhi Subramani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
- how many type of log files can be generated and what are they? (e.g - security audit log, security log, system log, etc)
and the default trace, etc. basically everything under /usr/sap/WDJ/JC11/j2ee/cluster/server0 and /usr/sap/WDJ/JC11/j2ee/cluster/server0/log
- whether logs are activated by default? how to activate the log?
Yes, logs are activated by default. You can increase the log level of logs, but not disable them..
- how to extract logs? whether I can use ABAP itself or any other way to extract?
Using the logviewer via the visual administrator, the standalone logviewer, or via the netweaver administrator
Kind regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.