[java.util.logging] logging only to _one_ file
I am using the java.util.logging API and really like it. I used an XML
Handler for each logger storing the information as XML in XML files.
(thatīs the default for the FileHandler class). All is going quite fine,
but I will get a lot of different files:
I created the log file as "output.xml" but in the directory are a lot of
You might say that this is not so dramatic, but I have four loggers and
when my program runs for about two days I will habe about 500 files in
this folder (the number at the end of the files is incremented in these
Here is the code snippet how I create my logger:
Logger log = Logger.getLogger("Output");
FileHandler xmlLogFile = new
|All times are GMT. The time now is 01:46 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.