• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat log rotation

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone

I am trying to rotate my tomcat logs....i am using log4j.properties file and it works fine for tomcat log messages.
But, the problem is with my app. (9 apps) which actually write to stdout (using consoleappender), this makes my stdout file
very large. so, i decided to rotate that stdout log file. I redirected stdout and stderr to a rollingfileappender but it did not work.

So, please does any one know if it is possible....can we use piped log just as apache server does?
please any solutions and suggestions are highly valuable....because i am kinda stuck here....

configuration:

tomcat 5.5
windows xp operating system.

please let me know if you need anymore info...

thank you in advance
reply
    Bookmark Topic Watch Topic
  • New Topic