Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7173111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:45:18+00:00 2026-05-28T15:45:18+00:00

I have tomcat6 installed on my Windows desktop for testing purpose. At the moment

  • 0

I have tomcat6 installed on my Windows desktop for testing purpose. At the moment nothing is added to the webapps folder, just the normal tomcat start up. Following log files are produced:

catalina.2011-12-24.log
host-manager.2011-12-24.log
jakarta_service_20111224.log
localhost.2011-12-24.log
manager.2011-12-24.log
stderr_20111224.log
stdout_20111224.log

My problem is simple, I want these logs [stdout included] to be rolled and compressed on the basis of defined size limit.

I have read about logback and its capabilities to roll and compress files with defined policies, but I have not been able to make it work for me. I have copied following jars in $TOMCAT_HOME/lib directory:

logback-access-1.0.0.jar
logback-classic-1.0.0.jar
logback-core-1.0.0.jar

Some sites suggested these libs should be added as well:

jul-to-slf4j-1.6.4.jar
slf4j-api-1.6.4.jar

I have tried copying logback.xml in $TOMCAT_HOME/conf and $TOMCAT_HOME/lib, but unable to make it work.

I would really appreciate if someone can help me with this, best could provide me with a logback.xml and jars/xml location where these files should be copied to make it work.

P.S. I have not deployed any webapp in the tomcat, it just the basic tomcat setup.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T15:45:20+00:00Added an answer on May 28, 2026 at 3:45 pm

    I think this tutorial can help. Tomcat 6 works only with log….0.9.30.jar or lower. Tomcat + SLF4J + Logback

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have Tomcat 6.0.24 64 bit installed on two Windows Server 2008 boxes as
I have installed apache-tomcat-6.0.35-windows-x86 in my system. How can I configure it and set
I have installed Apache Tomcat 6 as a Service in a Windows XP computer
I have Windows 7 x64. Both Tomcat and Rails are installed and working. I
I have Apache Tomcat 7 installed on Windows 7. I had its service in
I have installed and configured tomcat+solr on my personal linux machine and windows as
I have just found out that Apache Tomcat cannot run as a Windows service
I have installed Tomcat 5.5 in windows vista home basic. I have set classpath
I have installed Tomcat server on my PC and I have added it as
I have a Tomcat and PostgreSQL installed on a server. I'm having a connection

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.