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 538711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:03:37+00:00 2026-05-13T10:03:37+00:00

We are using the Windows installation of Tomcat 6. By default, the log4j output

  • 0

We are using the Windows installation of Tomcat 6. By default, the log4j output for our app goes to the ${catalina.base}/logs/stdout_.log file. This log file only rolls over when we restart Tomcat, and the file name always includes the date.

I would prefer it to behave like a DailyRollingFileAppender, where it renames the file when it rolls over… that way I can just open Notepad++ and see today’s logs, since Notepad++ will remember that I opened that same file yesterday. 🙂

I know I can just create another appender in log4j, but I would end up with the stdout.log and another log file, and I’m afraid there would be a minor performance hit for logging to both files. I’ve tried adding swallowOutput=true to my context.xml but I still get all logging in stdout.log. Any ideas?

  • 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-13T10:03:37+00:00Added an answer on May 13, 2026 at 10:03 am

    Have you tried the steps outlined in Logging in Tomcat? If you follow the steps you’ll end up with log4j.properties in the lib directory that you can customize to your heart’s content.

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

Sidebar

Related Questions

I am using the default hudson installation on windows as a service. It is
I have set up a Redmine installation on a Windows server using the BitNami
I'm trying to build a Windows installer using Nullsoft Install System that requires installation
I have created an installation package using Wix which installs a Windows service on
I've been using Cygwin on Windows recently. I want to use the Windows installation
I want to develop an app for windows phone using Phone Gap. The Phone
In Windows using C#, how can I get the installation path of a software
I am starting the RoR 3 Video Tutorial, doing the windows installation using cygwin
Using SSMS under sql08Express. In past installations of SSMS, if windows fired a restart
Using Windows Server 2003 in a multi-user environment (via Remote Desktop, using it as

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.