Project

General

Profile

Is it possible to use "no_log" or direct access logs to /dev/null

Added by paras over 15 years ago

Hi,

Is it possible to use "no_log" in lighttpd like it is used in apache or is it possible to pipe access log for a virtual host to /dev/null ?

Thank you.

-Paras


Replies (4)

RE: Is it possible to use "no_log" or direct access logs to /dev/null - Added by icy over 15 years ago

Just set no access log or use "". /dev/null should work too but costs a little bit of performance.

RE: Is it possible to use "no_log" or direct access logs to /dev/null - Added by paras over 15 years ago

Thanks , I used accesslog.filename = "" as suggested by you and it doesn't log anything for the required virtual host.

But I did not follow what you meant by "Just set no access log" does it mean some directive like accesslog.filename=noaccesslog ?

Thanks

-Paras

RE: Is it possible to use "no_log" or direct access logs to /dev/null - Added by icy over 15 years ago

No. If you don't set any accesslog.filename, it will not log either. But be aware of global settings that my apply - so using "" is safer.

    (1-4/4)