Maintenance of Log Files

Hi everyone,

how can I maintenance the log files (systemout.log files) in connections.

At the moment, the files are growing. I want to delete the old files every e.g. 30 days.

I have to write a script for this?

Please help me.

Thx Thomas

Hello Thomas,

take a look at the following:

https://help.hcltechsw.com/sametime/9.0.1/trouble/trbl_setting_jvm_log_file_size.html

It is a Sametime article, but those are WAS Settings after all. :)

Best regards,

Milan

Hello Thomas,

There are couple of steps you can follow for logs files.

1- Review all the traces and debugs enabled while troubleshooting so disable the debugs as soon as you are finished with collection of troubleshooting data.

With the debugs enable WAS generates verbose logging and may create bigger files so as suggested disable/remove the trace/debugs as soon as your troubleshooting is completed.

2- You can also follow the steps mentioned in published document to avoid such cases.

https://help.hcltechsw.com/sametime/9.0.1/trouble/trbl_setting_jvm_log_file_size.html

Let me know if this answers your query. Thanks.

Regards,

Saif

Hi,

To my understanding WebSphere should normally take care of SystemOut, SystemErr and traces all by itself. And it is a default behavior.