Meaningless Drivel is fun!*
The moose likes Websphere and the fly likes Not correct work TimeBasedRollingPolicy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Not correct work TimeBasedRollingPolicy " Watch "Not correct work TimeBasedRollingPolicy " New topic

Not correct work TimeBasedRollingPolicy

Anton Zaytsev

Joined: Jan 11, 2013
Posts: 1
Good day!
Sorry for my English. And for what I'm quite green in this question.

I have a problem: on WebSpere is installed application, and dividing logs by size and time worked perfectly, if I do not restart the application. But if application was stopped, logs is not divided more. I could set new name for log-file, and if this name earlier was not used for this aims, all in normal. Else, log-file could grow more then set in <MaxFileSize>.

In logback.xml:

I think, problem in WebSphere caching, but I cannot solve.
Thank you in advance!
It is sorta covered in the JavaRanch Style Guide.
subject: Not correct work TimeBasedRollingPolicy
Similar Threads
log4j problem: Multiple RollingFileAppender in an application
Log4j automatic compression with FixedWindowRollingPolicy
what is wrong with log4j configration
Capture logs to file via log4j.xml
Log4j rolling policy must be declared?