Oracle Weblogic Server (MOSC)

MOSC Banner

How to rotate stdout log file in Weblogic based on file size and file count?

edited May 5, 2016 9:32PM in Oracle Weblogic Server (MOSC) 6 commentsAnswered

Hello,

I want to rotate a stdout log file in weblogic.

This is how file name is set in server start arguments of weblogic.

-Dweblogic.Stdout=/apps/Oracle/Knowledge/IMWS/instances/IMWS/OracleKM-IMWS-infomanager.log

Are there any properties which we can set in server start arguments of weblogic for stdout log file rotation?

We have java service wrapper for log rotation with below properties in wrapper.conf file but with no effect.

wrapper.logfile.rollmode=SIZE_OR_WRAPPER

wrapper.logfile.maxsize=10k

wrapper.logfile.maxfiles=10

Any help is highly appreciated.

Thanks

Swapnil

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center