View Single Post
  #9  
Old 08-30-2012, 05:58 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
I think you can work a quick solution to work around it.

for example, create a cron job to run every minute, to process the bytes log file created by lsws. here's an example:

#mv lsws_bytes.log tmp.log
#your_translate.sh tmp.log > tmp2.log
#cat tmp2.log >> da_bytes.log
#rm -f tmp.log
#rm -f tmp2.log

da_bytes.log is bytes log format recognized by directadmin

please first command:
#mv lsws_bytes.log tmp.log

this is enough -- in apache, you have to send a signal to apache process, so apache will create new lsws_bytes.log.
in lsws, just mv it, lsws will create new lsws_bytes.log automatically.

your understanding regarding license is correct
Reply With Quote