Here\'s my appender configuration from my app.config. This just prints out the literal string instead of translating it to the date (i.e., it literally prints \"[START: %d
Answer from here.
Works for me like a charm. No need to write a piece of code.
Also in projects we usually use:
Take a look at PatternString doc also.
Also I've noticed that log file won't appear until you write first log statement.