Project

General

Profile

DebugVariables » History » Revision 13

Revision 12 (stbuehler, 2008-08-19 17:46) → Revision 13/23 (stbuehler, 2008-08-19 17:46)

h1. = Debug Variables 


 = 

 [[PageOutline(2,Debug Variables by Module,inline)]] 


 h2. 

 == Core 


 *debug.log-request-header* == 

 '''debug.log-request-header''' 
     log all request headers. 

     headers.[[BR]] 
     default: disabled 

 *debug.log-request-header-on-error* '''debug.log-request-header-on-error''' 
     log request header, but only when there is an error.  

     [[BR]] 
     default: disabled 

 *debug.log-response-header* '''debug.log-response-header''' 
     log the header we send out to the client. 

     client.[[BR]] 
     default: disabled 


 *debug.log-file-not-found* '''debug.log-file-not-found''' 
     log if a file wasn't found. 

     found.[[BR]] 
     default: disabled 

 *debug.log-request-handling* '''debug.log-request-handling''' 
    log request handling inside lighttpd.  
 
    [[BR]]  
    default: disabled 

 *debug.log-condition-handling* '''debug.log-condition-handling''' 
     log conditionals handling for debugging 

     debugging[[BR]] 
     default: disabled 
     See http://blog.lighttpd.net/articles/2006/04/02/log-condition-handling-the-hidden-feature-for-debuging [http://blog.lighttpd.net/articles/2006/04/02/log-condition-handling-the-hidden-feature-for-debuging] 

 *debug.log-condition-cache-handling* '''debug.log-condition-cache-handling''' 
    for developers only 

    only[[BR]] 
    default: disabled  

 *debug.log-ssl-noise* '''debug.log-ssl-noise''' 
    log some ssl warnings we hide by default (ssl handshake, unknown/bad certificate). 

    certificate).[[BR]] 
    default: disabled 



 h2. 


 == mod_fcgi - Fastcgi Module 


 *fastcgi.debug* == 

 '''fastcgi.debug''' 
     a value between 0 and 65535 to set the debug-level in the FastCGI module. Currently only 0 and 1 are used. Use 1 to enable some debug output, 0 to disable it. 

 see also [[lighttpd:Docs:ModFastCGI|fastcgi [wiki:Docs:ModFastCGI fastcgi troubleshooting (bottom of page)]] 



 h2. page)] 


 == mod_auth - Authentication Module 


 * == 

 ''' auth.debug * '''  
 0 for off, 1 for 'auth-ok' messages, 2 for verbose debugging 


 h2. 

 == mod_proxy - Proxy Module 


 *proxy.debug* == 

 '''proxy.debug''' 
 a value between 0 and 65535 to set the debug-level in the Proxy module. Currently only 0 and 1 are used. Use 1 to enable some debug output, 0 to disable it. 


 h2. 

 == mod_proxy_core - Proxy Core Module (Version 1.5) 


 *proxy-core.debug* == 

 '''proxy-core.debug''' 
 a value between 0 and 65535 to set the debug-level in the Proxy module. Currently only 0 and 1 are used. Use 1 to enable some debug output, 0 to disable it. 


 h2. 

 == mod_simple_vhost - Simple Vhost Module 


 == 

 simple-vhost.debug = 1  





 h2.  




 == mod_trigger_b4_dl - Trigger Before Download Module 


 == 

 trigger-before-download.debug = "disable" 



 h2. 


 == mod_status - Status Module 


 == 

 mod_status is also a great tool to troubleshoot lighttpd. 
 The server status module generates the status overview of the webserver. The information covers: 

 ** 

     * uptime 
 ** 
     * average throughput 
 ** 
     * current throughput 
 ** 
     * active connections and their state 

 [[lighttpd:Docs:ModStatus|Documentation [wiki:Docs:ModStatus Documentation for mod_status]] 


 h2. mod_status] 

 == mod_webdav - !WebDav module 


 == 

 webdav.log-xml = "enable" 

 "enable"[[BR]] 
 log the XML Request bodies for debugging 





 h2. 




 == See Also 


 == 

  * [[HowToReportABug|How [wiki:HowToReportABug How To backtrace, strace, ktrace memory leaks]] 
 leaks] 
  * "Log [http://blog.lighttpd.net/articles/2006/04/02/log-condition-handling-the-hidden-feature-for-debuging Log Condition Handling":http://blog.lighttpd.net/articles/2006/04/02/log-condition-handling-the-hidden-feature-for-debuging Handling] Blog Entry