Skip to main content

Hi, hope this is a simple question.


I have set the logging on our BlackPearl instance to debug, in order to prevent the files getting too large and therefore unreadable. However, after changing the log settings from Info to Debug, I've seen that the system doesn't provide me with daily files as it used to, but a single file which gets steadily larger (and therefore ultimately unreadable).


The settings I have in the HostServerLogging.config file are below. can anyone advise on how I can force a new Log file for each day?


Thanks


***************


  <ApplicationLevelLogSettings>
    <ApplicationLevelLogSetting Scope="Default">
      <LogLocationSettings>
        <LogLocation Name="ConsoleExtension" Active="True" LogLevel="Info" />
        <LogLocation Name="FileExtension" Active="False" LogLevel="Info" />
        <LogLocation Name="EventLogExtension" Active="False" LogLevel="Info" />
        <LogLocation Name="ArchiveExtension" Active="False" LogLevel="Info" />
        <LogLocation Name="MSMQExtension" Active="False" LogLevel="Info" />


      </LogLocationSettings>
    </ApplicationLevelLogSetting>
  </ApplicationLevelLogSettings>

Add the following to the HostServerLogging.config file: Search the file from the top for “fileextension” Underneath that line add the following: Now you can specify a limit size for the log to create a new one. You can also try adding: Where the zeros represents days:hours:minutes:seconds Let me know if this works. vernon

Reply