Logging
From KnowledgeTree Document Management Made Simple
Log files generally live in the log directory within the var directory. This can be changed by the logDirectory setting in the urls section of the config.ini file.
There are two main log files:
- the general log (log-\{date}.txt
- the query log (query-\{date}.txt)
There is also an option to log PHP errors to a text file - these will appear in the phpErrorLog file in the log directory.
The log level describes what level of logging to write to the main log files. The valid values for log level are:
- DEBUG (to track individual SQL queries and success of low-level checks)
- INFO (to track failing SQL queries, and success or failure of important decision-making)
- WARN (only failures of important decision-making)
- ERROR (only things that cause something to fail)
We suggest logging be kept at INFO.
To set the log level, change (or create) the logLevel setting in the KnowledgeTree section of the config.ini file.
[KnowledgeTree] ... logLevel = INFO
del.icio.us
reddit



