Hang if the logfile is uncreateable
Status: Beta
Brought to you by:
gilstrap
If the logfile specified gets a name that is illegal
on the platform FileHandler runs wild trying to create
files with different numbers appended.
CREATE <illegal ?: filename>.0 FAIL
CREATE <illegal ?: filename>.1 FAIL
CREATE <illegal ?: filename>.2 FAIL
CREATE <illegal ?: filename>.3 FAIL
CREATE <illegal ?: filename>.4 FAIL
... (10 days later)
CREATE <illegal ?: filename>.2412410 FAIL
CREATE <illegal ?: filename>.2412411 FAIL
CREATE <illegal ?: filename>.2412412 FAIL
Logged In: YES
user_id=306784
This is with 0.8.7 on Windows
Logged In: YES
user_id=101085
In what way is the logfile name illegal?
The spec says that if the file can't be created then a new
file name with a uniqueness ID should be generated and a
retry should be done. So, Lumberjack is acting technically
within the spec.
That said, I'd like to catch common unrecoverable problems
and address them so that we don't try forever. What file
pattern did you use that was illegal and caused this behavior?
Logged In: YES
user_id=306784
I'm not completly sure but it was something with colon (:) and percentage signs (?) which are illegal
filenames in MS Windows.