Hi all,
I'm using log4perl to log program behavior into user
specific logfiles with the file appender. furthermore program results
are logged into a file using another file appender. The filename
of this file depends on a jobid given to the program at start time.
Now my program has become a daemon. to support logging in the usual
way I have the need to change the filename for logging with every task.
I looked eg. for a function to delete an appender once added to a logger,
or to change the filename for output at least, But didn't find anything
in the doc. So a took a quick look at the code and tried out the
reset function. ok, it worked, but memory usage increased with
every new task.
Has anyone had this problem too, and how has it been solved.
Or isn't there a solution?
many thanks
greetings
Reinhold
--
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post
|