Solved

Log4J : Setting time interval on log files and how to detect if it's a new log file?

Posted on 2010-09-21
2
572 Views
Last Modified: 2012-05-10
Before I create my own logging system I wanted to confirm if it was possible to :

1. Set the time interval that a Log4J logs eg: 24 hours
2. How do you determine when a new log file has started (as I would need to reset my counters for the new log file.

0
Comment
Question by:directxBOB
  • 2
2 Comments
 
LVL 16

Accepted Solution

by:
Valeri earned 500 total points
Comment Utility
0
 
LVL 16

Expert Comment

by:Valeri
Comment Utility
For the second question I think that you have to Override rollOver() method and everything shoud be OK, but you have to try this!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

771 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

11 Experts available now in Live!

Get 1:1 Help Now