I am using log4net to log to the console, and the %date conversionPattern value is too verbose.
I would like to see just hh:mm:ss – the date is not required cos I know what the date is today.
Current config:
[conversionPattern value="%date %-5level – %message%newline" /]
Best Answer
You can use
date
orutcdate
to format a date to your specification:Source: log4net PatternLayout documentation.