NLog quits at midnight

1 message Options
Embed this post
Permalink
JSearles

NLog quits at midnight

Reply Threaded More More options
Print post
Permalink
I am using NLog using the .Net Compact Framework 2 on a device running CE 5.0. The logging works fine until midnight and then it stops logging. Below is a copy of the config file i am using.

  <targets>
    <target xsi:type="File"
            name="file"
            fileName="${basedir}\logs\${logger}log.txt"
            layout="${logname} ${longdate} ${message}" />
  </targets>

  <rules>
    <logger name="*" writeTo="file" />
  </rules>

This is using NLog 1. Any assistance will be appreciated.

Thanks,

Josh