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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Litespeed and bytes log ( directadmin)

Reply
 
Thread Tools Display Modes
  #11  
Old 09-04-2012, 02:00 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
there is another general way to do it:

lsws admin console->Configuration->Virtual Hosts: select a vhost

->General->Apache Style configurations
enter
LogFormat "%O %I" bytes_log_format
CustomLog /usr/local/lsws/DEFAULT/logs/bytes.log bytes_log_format

will generate the bytes log file /usr/local/lsws/DEFAULT/logs/bytes.log

-- tested in my local lsws.
Reply With Quote
  #12  
Old 09-04-2012, 11:17 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
the latest 4.1.13 supports relative path (to vhost root) for CustomLog, i.e.,

Quote:
CustomLog logs/bytes.log bytes_log_format
Reply With Quote
  #13  
Old 09-04-2012, 06:10 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
i.e.,
logs/bytes.log equal to $VH_ROOT/logs/bytes.log
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:44 AM.



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