Is it a bad idea to ensure that a log directory exists before every log message in an application that could be logging a few times a second (though not continually)?
I could implement a File System Watcher style thread to fire up and recreate a lost log directory, but my gut feeling is that would be a bit heavier an operation
I would check to see if it exists on the first time, such as the construction of your logger, if not create it then.
Windows cannot easily delete a directory that is in use.