im using tomcat as servlet container for my web app , now im controlling my web app logs with log4j and its has its own log4j jar and its own log4j configuration file
but now i need to control the main tomcat logs (Catalina.out for example) .
i need to roll then by size and control its debug level how can i do that
without adding log4j to tomcat and to use the build in tomcat logs
Asked
Active
Viewed 303 times
2

user63898
- 29,839
- 85
- 272
- 514
1 Answers
0
What do you log so big that you need to roll Catalina.out? It should only contain messages about Tomcat startup/shutdown and, maybe, error logging from log4j when it cannot start.

Olaf
- 6,249
- 1
- 19
- 37