LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Disable access.log ?

Reply
 
Thread Tools Display Modes
  #1  
Old 10-25-2010, 03:36 PM
track1 track1 is offline
Member
 
Join Date: Oct 2010
Posts: 46
Default Disable access.log ?

Is it possible to disable accesslog?
I can't see any option under Server / Log menu
Reply With Quote
  #2  
Old 10-25-2010, 06:16 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
Yes, it is. Set all the vhost including the catch all vhost (Default virtual host) to disable access logging (vhosts -> log -> access log -> disabled).
Reply With Quote
  #3  
Old 10-26-2010, 02:00 AM
track1 track1 is offline
Member
 
Join Date: Oct 2010
Posts: 46
using whm/cpanel, no vhosts under litespeed panel, only server > ... config.
Reply With Quote
  #4  
Old 10-26-2010, 10:53 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
In Litespeed admin console (cpanel-> plugin-> LiteSpeed Web Server -> Admin Web Console), under Configuration menu, there should be 4 items: Server, Listeners, Virtual Hosts, Virtual Host Templates. Virtual Hosts is the one to look at.
Reply With Quote
  #5  
Old 10-26-2010, 11:21 AM
track1 track1 is offline
Member
 
Join Date: Oct 2010
Posts: 46
#Virtual Hosts (0), and there aren't options to select.

Server is using apache config, Actions home page show 5 sites under Virtual Hosts table, but there are no sites/options under Configuration, Virtual hosts.
Reply With Quote
  #6  
Old 10-26-2010, 12:22 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
Then your request becomes how to disable access logging in Apache via cPanel since LSWS gets everything from Apache config in this case. This is not a LSWS issue at all. You may check with cPanel support on how to do that.
Reply With Quote
  #7  
Old 10-26-2010, 12:53 PM
track1 track1 is offline
Member
 
Join Date: Oct 2010
Posts: 46
Apache use mod_log_config.c, and is commented out under httpd.conf and ignored in litespeed with Ignore Apache Modules: mod_log_config.c

But litespeed log access_log under lsws/logs/ directory.
Reply With Quote
  #8  
Old 10-26-2010, 04:16 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You can set LiteSpeed server level log file to /dev/null.
We will change LiteSpeed to stop logging under lsws/logs directory for vhosts configured through Apache httpd.conf
Reply With Quote
  #9  
Old 10-26-2010, 05:52 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
The latest build of 4.0.17 should stop logging to lsws/logs
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:06 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.