P paTRon Member Jul 13, 2007 #1 Jul 13, 2007 #1 Hi, I dont want to log image file request in my access.log How can i do it ? Thanks I'm using LiteSpeed/2.2.6 Standard.
Hi, I dont want to log image file request in my access.log How can i do it ? Thanks I'm using LiteSpeed/2.2.6 Standard.
T ts77 Well-Known Member Jul 13, 2007 #2 Jul 13, 2007 #2 why would you do this? I think its not really possible, only if you would serve all image-files from one given virtual host and disable access-logging for this host.
why would you do this? I think its not really possible, only if you would serve all image-files from one given virtual host and disable access-logging for this host.
P paTRon Member Jul 13, 2007 #3 Jul 13, 2007 #3 Because I just want to do that. My log file is very large that i dont need to log image files.
M mistwang LiteSpeed Staff Jul 14, 2007 #4 Jul 14, 2007 #4 You can use a piped logger to filter the log entries of image files. If we add a feature like that, it would be Enterprise only.
You can use a piped logger to filter the log entries of image files. If we add a feature like that, it would be Enterprise only.
P paTRon Member Jul 14, 2007 #5 Jul 14, 2007 #5 I'm using LiteSpeed Free Edition. Thanks all for your replies. Maybe I'll buy Enterprise Edition. mistwang said: You can use a piped logger to filter the log entries of image files. If we add a feature like that, it would be Enterprise only. Click to expand...
I'm using LiteSpeed Free Edition. Thanks all for your replies. Maybe I'll buy Enterprise Edition. mistwang said: You can use a piped logger to filter the log entries of image files. If we add a feature like that, it would be Enterprise only. Click to expand...
M mistwang LiteSpeed Staff Jul 15, 2007 #6 Jul 15, 2007 #6 In 3.2 release, access can be turned off with a simple rewrite rule in enterprise edition: Code: RewriteRule \.(gif|jpeg|png)$ - [E=dontlog:1]
In 3.2 release, access can be turned off with a simple rewrite rule in enterprise edition: Code: RewriteRule \.(gif|jpeg|png)$ - [E=dontlog:1]