on 06-16-2015 9:41 AM
Hi
Because disk space is rare in some of our systems I would like to limit the number and size of Diagnostic Agents related log files in
/usr/sap/DAA/SMDA97/work and /usr/sap/DAA/SMDA97/SMDAgent/log
Disable all logging is also an option.
How can I do this?
Regards
Michael
Hi,
No idea for the work folder. But for SMDAgent/log, that’s
saplogging, configured via file SmdAgent/configuration/log-configuration.xml.
You can define the log file rolling policy with altering the
count and limit values manually.
<log-destination
name="SMDAgentAppLog" type="FileLog" count="10"
effective-severity="All" limit="1000000"
pattern="./log/SMDAgentApplication.log">
<formatter-ref
name="trc"/>
</log-destination>
Regards,
Stephan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can reduce the logging level and schedule a house keeping cron job that zips and move or delete old log files.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
reduce the logging level
How? Thats one of the questions.
I think the cron solution is a workaround for something SAP should have thought of.
E.g.: I know some icm Parameter (icm/HTTP/logging_xx) where you can add MAXSIZE, FILEWRAP and SWITCHF values to handle log file growth. I thought something similar exists in DAA-World...
Any other ideas?
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.