The Log File

During execution the edoc application will often generate a log file. What goes into this log file is dependant on what log level was defined at compile time. This is primarily for debugging, however if an error occurs there is often additional information in the log file that can be used to determine exactly what caused the problem.

The log file is usually found in /tmp/edoc.log

However by setting the environment variable EDOC_LOGGER_FILE=<filename> you can send the log file to the specified file.

If you wish to re-compile the edoc application with logging set to a different level then you can do so by editing the src/include/EDoc/Logger.h file and setting the macro: EDOC_DEFAULT_LOG_LEVEL to a different value like: EDOC_LOG_LEVEL_FINEST. For example:

// The default log level to use.