Change log levels

The log file’s level of detail can be changed by setting the logs detail level. The logging level can be set at any of the following values:


  • Off

  • Fatal

  • Error

  • Warn

  • Info

  • Debug

  • Trace


“Off” writes no information to the file and “Trace” writes as much information as possible to the file.  The default setting is “Info.”  New log files are created each day. After 10 days the files are automatically deleted.  Here is the procedure to change the log levels:


Milestone

  1. Go to the MilestoneEvent Server.

  2. Open File Explorer. Select the View menu and enable Hidden items.

  3. Open the following folder:

    • C:\ProgramData\VideoOS\ACMServerPlugin

  4. In each subfolder named with a globally unique identifier (GUID) – something like “4c53f6e5-e951-1616-83f0-e44fb813e451”) – do the following:

    • Find the file named “ACMServerPluginNLog.xml” and open it with notepad

    • Near the end of the file is a line like this: <logger name=”*” minlevel=”Info” writeTo=”mainlog”/>

    • Change the “Info” to “Debug” or “Trace,” or any of the other log levels and save the file

    • Depending on the OS it may be necessary to save the file to the desktop and copy it back to that folder because Windows account permissions do not allow saving a file at that location directly


CCure 9000

  1. Go to the CCure 9000 Server.

  2. Open File Explorer. Select the View menu and enable Hidden items.

  3. Open the following folder:

    • C:\ProgramData\VideoOS\ServiceHost

    • Find the file named “ServiceHostNLog.xml” and open it with notepad

    • Near the end of the file are several lines starting with “<logger name=”*”

    • Locate the following lines:

      • <logger name=”CCure9kAcmServerPlugin.*” minlevel=”Info” writeTo=”ccurelog” final=”true” />

      • <logger name=”Milestone.CCure9k.Client.*” minlevel=”Info” writeTo=”ccurelog” final=”true” />

    • Change the “Info” to “Debug” or “Trace,” or any of the other log levels and save the file

    • Depending on the OS it may be necessary to save the file to the desktop and copy it back to that folder because Windows account permissions do not allow saving a file at that location directly.

  4. Go to the CCure 9000 Server.

  5. Open the following folder:

    • C:\ProgramData\VideoOS\ServiceHost\Services\VideoOSACMServerService

    • Find the file named VideoOSACMServerAsmScannerNLog.xml and open it with notepad

    • Near the end of the file is a line like this <logger name="*" minlevel="Info" writeTo="mainlog" />

    • Change the “Info” to “Debug” or “Trace,” or any of the other log levels and save the file

    • Depending on the OS it may be necessary to save the file to the desktop and copy it back to the that folder because Windows account permissions do not allow saving a file at that location directly