Oracle Weblogic Server (MOSC)

MOSC Banner

Rotate logs

edited Jun 16, 2020 4:36AM in Oracle Weblogic Server (MOSC) 16 commentsAnswered

Hi, we are trying to rotate our *.out logs. It's working but after the logs are rotated the original named log gets filled with null characters. Anyone experience this?

We have this in a file on the logrotate.d folder.

/opt/product/fmw/user_projects/domains/ocmt/logs/*.out {

copytruncate

rotate 7

size 10M

}

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