From: Kevin G. <ke...@go...> - 2003-09-05 19:56:14
|
Reinhold Redel wrote: > I might add a function > to the appender, to be called with the appender obj and a new filename als > paramater. this function would then close the filehandle of the old logfile, > create a new filehandle with the defined properties, change the name of the > logfile in the datastructure ... Maybe you should write your own appender class, replace or subclass Log::Dispatch::File altogether, then you could close old/open new on whenever you want. There's not that much to it, there's only about 100 lines of code in Log::Dispatch::File. -- Happy Trails . . . Kevin M. Goess (and Anne and Frank) 904 Carmel Ave. Albany, CA 94706 (510) 525-5217 |