This content has been marked as final. Show 1 reply
Its not possible to rotate 'WLLogfile' using Apache's piped log rotation. I have raised an case with Oracle support team and they recommended to disable 'WLLogFile' in Prod.
Below is an update from Oracle Support Team -
To answer your query,
- WLLogFile is part of the plugin and not WLS itself. Log rotation (WLProxyLog is not possible at the plugin level from WLS.
This query was also raised with WLS engineering in the past and they have confirmed that log rotation is not possible at the plugin level, it is only possible at the WLS level(server level).
More importantly, In production, you should not have the WLProxyLog enabled.
I donot think there is any way to rotate WLLogFile. However, will discuss it internally and update you once we have more findings.
Its always recommended not to enable Debug or WLProxyLog in production unless and untill its highly required as to some issues encounters and you need to resolve or find root cause for the issue.
Simple reason, Logging will very huge and unnecessary logging are captured which would occupy more physical space and might further lead to performance issues / OOM issue on the long run.
Its Oracle's recommendation not to enable debug or WLProxyLog in production until its required as stated above.
Hope this explains.
Oracle Support Team
In this case, either we have to disable Weblogic Proxy logs or needs to use Linux log rotation feature where in requires restart of Apache at the time of log rotation.