Quote:
I created a symbolic link from /var/log to /var/www/var/log
|
This means that you did something like this, isn't it ?
- copied/moved the complete original "/var/log" directory to "/var/www/var/log".
- stopped all logging daemons
- rm /var/log/*
- rmdir /var/log
- ln -s /var/www/var/log /var/log
- restarted all logging daemons
Do you see the logs being updated in /var/www/var/log ?
How about permissions? The permissions on some logs are strict
Code:
-rw-r----- 1 root wheel 375 Feb 5 16:51 authlog
-rw-r----- 1 root wheel 21514 Feb 5 18:01 daemon
-rw------- 1 root wheel 313248 Jan 30 12:40 failedlogin
-rw------- 1 root wheel 151 Feb 5 15:49 maillog