logging - What is a the 'best practice' for location of windows service logfiles? -


Many windows write files of daily applications under "program files".

Use Windows System Apps (like IIS)% SystemRoot% \ System32 \ LogFiles Should I Do Something for My Service?

We make the log directory configurable. Depending on the usage, you may not want to log on to the OS drive, or at the place you need more.

Event logs are not always the best solution for more verbose logging. We use event logs for error and warning and key state changes (start / stop / etc) but we use logfiles for more verbose functions.


Comments