CentOS Web Panel

WebPanel => Informations => Topic started by: Administrator on June 13, 2014, 03:56:31 PM

Title: CentOS Server Log Files Location
Post by: Administrator on June 13, 2014, 03:56:31 PM
CWP Login Logs
/var/log/cwp_login.log

Apache server Logs location:
/usr/local/apache/logs/

suPHP Log
/var/log/suphp.log

PHP Rebuild Log (PHP Switcher)
/var/log/php-rebuild.log

Postfix
/var/log/maillog

Dovecot
/var/log/dovecot-debug.log
/var/log/dovecot-info.log
/var/log/dovecot.log


How to View Logs?
You can use File Manger in CWP as one of the options
Code: [Select]
cat /full/path/to/file.name
Code: [Select]
less /full/path/to/file.name
Code: [Select]
nano /full/path/to/file.name
Code: [Select]
vi /full/path/to/file.name
Code: [Select]
vim /full/path/to/file.name
To live monitor logs you can user this command
Code: [Select]
tail -f /full/path/to/file.name

Title: Re: CentOS Server Log Files Location
Post by: apmuthu on November 11, 2014, 04:36:09 PM
CWP Login Logs file is now (CWP v0.9.6) at:
/var/log/cwp_client_login.log

cwpsrv Logs are at:
/usr/local/cwpsrv/logs

Wonder why the dovecot logs have 777 permissions.....
Title: Re: CentOS Server Log Files Location
Post by: Administrator on November 12, 2014, 03:57:56 AM
hmmm...this needs to be checked
Title: Re: CentOS Server Log Files Location
Post by: erm3nda on April 05, 2015, 04:18:50 AM
I've deleted suphp.log (or whatever name it has).
I've created a new one but seems is not working.

I got blank screen when clicking Search button on the Softaculous admin and no warning is saved on the new suphp.log, so i guess i didnd't create them properly.

I wanna ask about if there's any script or easy way to RE-create all the logs involved on the cwp.

Best regards.
Title: Re: CentOS Server Log Files Location
Post by: Administrator on April 09, 2015, 04:51:04 PM
just delete it and try restarting service, it should be automatically added after server needs to add something in it.
Title: Re: CentOS Server Log Files Location
Post by: erm3nda on April 10, 2015, 02:54:05 PM
I think i try to restart services and didn't create it.

But i test all the other stuff and finally someone did it.
So, file has been created again.

Anyway, a list of all logs created by cwp would be nice.
I know there are some post with a few, but a full one would be best.

Regards.