A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Products
»
Other Open Source Projects
Author
Modifying Log file(log4j).
Bennet Xavier
Ranch Hand
Joined: Jun 19, 2008
Posts: 162
posted
Jan 29, 2010 03:41:51
0
Hi All,
Can we modify the log file when, application is up.
I tried to deleted the content in log file, i am able to do that, but after that logs are not populated into that.
is there any way to set lock to log file in log4j.
Please help me.
Thanks In Advance,
Bennet Xavier X
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
Jan 29, 2010 06:26:11
0
Why would you want to? You should let Log4J handle the log files.
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Modifying Log file(log4j).
Similar Threads
setting log4j
log files
logging
Log4j rolling policy must be declared?
Not able to save logs into .log file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter