Hi All,
I had Catalina.out (JIRA) whose size is growing too large. I had few questions in mind.
1) Can i purge/delete Catalina.out file removing this file can it be recreated once i restart the service. Is it the right approach?
2) If not than can anyone know the best possible solution to overcome this issue.
Many Thanks,
AKash
You can remove the file if it's too big, and yes, ideally when Tomcat is down. It will create a new one automatically.
The usual approach is to point "log rotate" at it so that it gets done regularly or when it reaches a certain size. Virtually all Unix systems have logrotate as a standard, but I don't know about Windows systems.
Many Thanks Nic!! Always pleasure looking for your prompt answer..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Additionally, you can follow https://confluence.atlassian.com/display/JIRAKB/How+to+Rotate+Catalina+Log+File
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.