Need to roll the Tomcat logs everyday

Posted on 2007-07-20
Last Modified: 2013-12-02
How to create rolling logs for Tomcat i.e we want a new log file for logging.
We are using java.util.logging in our application for logging. Tomcat is using log4j for logging
Question by:wsc_sysadmin
    LVL 86

    Accepted Solution

    Using a DailyRollingFileAppender under log4j
    LVL 19

    Assisted Solution

    by:Jim Cakalic
    For explicit instructions on configuring Tomcat and Log4j, please see

    Jim Cakalic
    LVL 19

    Expert Comment

    by:Jim Cakalic

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
    This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
    Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
    The viewer will learn how to implement Singleton Design Pattern in Java.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now