Thread: Java Logging
View Single Post
  #1 (permalink)  
Old 08-02-2007, 02:55 AM
vignesh vignesh is offline
Member
 
Join Date: Aug 2007
Posts: 2
vignesh is on a distinguished road
Java Logging
Hi All,
I have a problem using java logging. I have currently set the handler to FileHandler to redirect all my logs to a log file. And in some cases I have to redirect that particular log to the java console. I couldn't able to do that even if I reset the handler to ConsoleHandler.
How do I manage to use two different handlers alternatively when required? That is sometimes I might require to redirect the log to java console and in some cases to a log file.
If anybody knows the solution please reply me.
I appreciate your time.
Thanks,
-- Vignesh.
Reply With Quote
Sponsored Links