User Tools

Site Tools


navhome

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
navhome [2007/11/20 18:06]
faltin
navhome [2008/06/02 09:46] (current)
morten
Line 80: Line 80:
 ====== Log files ====== ====== Log files ======
  
-''​webfront.log'' ​gives information on failed logins and other issues. This log file is not there per default, ​Morten knows what to do FIXME+NAV's web interface logs to the file ''​webfront.log''​. ​  ​This file doesn'​t exist by default.  It must be created in NAV's log directory and the user that the Apache server is running as must have write privileges to this file.  NAV uses the Python logging framework when logging to this file. You can create the config file ''​logging.conf''​ to define which log levels should be used for individual loggers. ​ If you wish to se debug messages for all parts of NAV from the web interfacecreate a ''​logging.conf''​ file containing the following:​ 
 + 
 +<​code>​ 
 +[levels] 
 +root = DEBUG 
 +</​code>​ 
 + 
 +If you only wish to se debug message for specifically web related modules, use this: 
 +<​code>​ 
 +[levels] 
 +nav.web = DEBUG 
 +</​code>​
  
navhome.1195581966.txt.gz · Last modified: 2007/11/20 18:06 by faltin