I am using ruby 1.9.2p180 (2011-02-18 revision 30909)
For logging purposes, I use a logbook. My program has two blocks that are used as daemons.
But writing from these blocks leads to an error and nothing is written to the log file:
log shifting failed. closed stream log writing failed. closed stream
Here's what happens in the code:
log = Logger.new(logbase + 'logfile.log', 'monthly') log.level = Logger::INFO proc = Daemons.call(options) do
Any idea what is wrong there?
Dakkar
source share