Control Web Panel
WebPanel => Information => Topic started 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
cat /full/path/to/file.name
less /full/path/to/file.name
nano /full/path/to/file.name
vi /full/path/to/file.name
vim /full/path/to/file.name
To live monitor logs you can user this command
tail -f /full/path/to/file.name
-
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.....
-
hmmm...this needs to be checked
-
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.
-
just delete it and try restarting service, it should be automatically added after server needs to add something in it.
-
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.
-
This post should be updated or removed becouse log file location changed
http://wiki.centos-webpanel.com/service-log-paths
-
log file directory has changed path, need to update information again
-
I would suggest changing all log files to be in the form of logfile_name.log
as you have done with the /var/log/cwp_client_login.log file.
Various log readers handle the files better with a .log extension, making them double-clickable if you download a copy of the log or are tailing it via SSH in a log reader. This pertains to the log files in /usr/local/cwpsrv/logs:
-rw-r--r-- 1 root root 45026 Jan 7 05:35 2304_access_log
-rw-r--r-- 1 root root 151365 Jan 7 05:35 2304_error_log
-rw-r--r-- 1 root root 568702955 Jan 7 14:13 access_log
-rw-r--r--. 1 root root 420969877 Jan 7 14:13 error_log
Simply amend their naming convention:
-rw-r--r-- 1 root root 45026 Jan 7 05:35 2304_access.log
-rw-r--r-- 1 root root 151365 Jan 7 05:35 2304_error.log
-rw-r--r-- 1 root root 568702955 Jan 7 14:13 access.log
-rw-r--r--. 1 root root 420969877 Jan 7 14:13 error.log
-
log file directory has changed path, need to update information again
can you share the new location ?
the clearlog script need to update ?