How do I enable logging?
All software components have a built-in automatic log file generator. The generator is enabled whenever a special file called logging.config is detected.
- Locate a suitable logging.config file and choose to copy it.
Typically you will find this file in the installation folder of the
software product and called logging.config.disabled (or some other
name that distinguishes it from logging.config), or in a sub-folder
of the installation folder.
Alternatively you can download this file from the resources area
(right) or request the file from a technical support
representative.
- Close the application you want to log. For clients, exit the
application; for servers or NVR components, stop the service
controlling the application.
- Paste the logging.config file into the installation folder. (If
necessary, rename it so that it is called logging.config.)
- Start the application (or service) to be logged.
Note: the log-roll.txt file will appear in the application's
installation folder. If left longer than one hour, the log-roll.txt
file is renamed to include the date and hour in the name and a new
log-roll.txt file is started. I.e. the log-roll.txt file always
contains the logging information for the most recent run of the the
application.
Caution: if an error has occured and the application has ended,
do not restart the application without first making a copy of the
log-roll.txt file. If you do not do this, the log-roll.txt that
might have contained the reason for the error will be overwritten
by a new log-roll.txt file when the application is restarted.