Skip Menu |

This queue is for tickets about the Log-Dispatch-FileRotate CPAN distribution.

Report information
The Basics
Id: 122624
Status: resolved
Priority: 0/
Queue: Log-Dispatch-FileRotate

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.27
Fixed in: 1.29



Subject: basic.t hangs on Windows
ok 1 - use Log::Dispatch; ok 2 - use Log::Dispatch::Screen; ok 3 - use Log::Dispatch::FileRotate; ok 4 - use Date::Manip; ok 5 - Your timezone is europe/istanbul ok 6 - An object of class 'Log::Dispatch' isa 'Log::Dispatch' ok 7 - An object of class 'Log::Dispatch::Screen' isa 'Log::Dispatch::Screen' ok 8 - An object of class 'Log::Dispatch::FileRotate' isa 'Log::Dispatch::FileRotate' # while true; do clear;ls -ltr | grep myerrs; sleep 1; done # # Type this in another terminal in this directory to see the logs changing. You # can also edit log.conf and change params to see what will happen to the log # files. # # You can also run a number of 'make test' commands to see how we behave with # multiple writers to log files. # # Edit t/basic.t and uncomment the 'sleep 1' line if you want to see time # rotation happening (hangs) -- Alexandr Ciornii, http://chorny.net
TIL that stat() on windows is somewhat broken in that the "dev" field wont match if you stat a path vs a filehandle. *sigh* I've fixed this in v1.29, just uploaded to cpan. -- Regards, Michael Schout