File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Not correct work TimeBasedRollingPolicy " Watch "Not correct work TimeBasedRollingPolicy " New topic
Author

Not correct work TimeBasedRollingPolicy

Anton Zaytsev
Greenhorn

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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not correct work TimeBasedRollingPolicy
 
Similar Threads
what is wrong with log4j configration
Capture logs to file via log4j.xml
log4j problem: Multiple RollingFileAppender in an application
Log4j automatic compression with FixedWindowRollingPolicy
Log4j rolling policy must be declared?