Hack 78. Increase the Log Level temporarily
by Ramesh
While you are debugging an issue, you can change the LogLevel of the Apache temporarily, without modifying the LogLevel directive in the httpd.conf as shown below using option -e. In this example, the LogLevel is set to debug.
- # httpd -k start -e debug
- [Sun Aug 17 13:53:06 2008] [debug] mod_so.c(246): loaded module auth_basic_module
- [Sun Aug 17 13:53:06 2008] [debug] mod_so.c(246): loaded module auth_digest_module
Possible values you can pass to option -e are:
- debug
- info
- notice
- warn
- error
- crit
- alert
- emerg
当前内容版权归 Ramesh Natarajan 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 Ramesh Natarajan .