On Jun 17, 2005, at 4:31 PM, Mark Womack wrote:
I think we should try to create the directory, not even define an
option.
If it fails (because it is not allowed), we could catch the
exception, then
write out an error message and one is no worse off then if we never
tried in
the first place. This just seems basic to me. Jake had to write
too much
code in the log4j init servlet code to make sure the directory
exists before
initializing a file appender, etc. I'd be willing to fix this as a
bug in
1.2.12.
-Mark
I've reopened the bug and assigned it to Mark. Definitely seems like
something that should be addressed in log4j as either a default or
optional action. It shouldn't be hard to switch it to an optional
action if someone comes up with a good reason why it shouldn't be the
default action.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]