My log4net conversion pattern looks like this
<conversionPattern value="%5level [%thread] (%file:%line) - %message%newline" />
The %file spits out the full path covering almost one full line in my console window.
How can I get just the file name (minus path).
Right now it looks like this
INFO [10] <c:\My Root Dir\Subdir\...........................\filename.cs> - My message
I want it to look like
INFO [10] <filename.cs> - My message
thank you