Litespeed is not logging

#1
Hi ,

We have a Litespeed box with latest version 3.3.20 on a plesk box . Everything is running fine except the web logs. Litespeed is not logging properly to virtual domain logfiles: /var/www/vhosts/domain.com/statistics/logs/access_log

I have tried everything but its not working. What could be the problem here ?

Best regards,
 

mistwang

LiteSpeed Staff
#2
You need to check the permission of statistics/ and logs/ directory.
Make sure 'apache' user can read access_log, does not get permission denied.
Try command

sudo -u apache more /var/www/vhosts/domain.com/statistics/logs/access_log
 
#3
Well I have tested and apache user can login and reach the access_log files without problems. But lsws is still not logging. Please help.

Best regards
 
Last edited:
#7
Hi !

I have solved the problem with your help . I enabled the pipe logging on plesk with the help of : http://kb.parallels.com/en/2066 . I have disabled the pipe logging then restart the lsws server now its working.

I only have one problem left and pm'ed that problem . Compression problem. It will be great if you can check that problem.

Best regards
 

mistwang

LiteSpeed Staff
#8
When used with a hosting control panel using Apache httpd.conf, LiteSpeed will not compress or rotate the log file, usually the control panel will do that while updating the statistics.
 
Top