Getting Apache logs: Difference between revisions
From ULYSSIS documentation
(Created page with "You can find all your apache logs (like the access.log and error.log) on all of our servers in the directory: /var/log/apache_user/''username'' So if your username is ''fooba...") |
No edit summary |
||
Line 3: | Line 3: | ||
So if your username is ''foobar'' then you can easily access your logs this way: | So if your username is ''foobar'' then you can easily access your logs this way: | ||
foobar@zap:~$ cd /var/log/apache_user/foobar | foobar@zap:~$ cd /var/log/apache_user/foobar | ||
<br> | |||
foobar@zap:/var/log/apache_user/foobar$ ls | foobar@zap:/var/log/apache_user/foobar$ ls | ||
foobar.ulyssis.be | foobar.ulyssis.be |
Revision as of 02:20, 11 May 2014
You can find all your apache logs (like the access.log and error.log) on all of our servers in the directory: /var/log/apache_user/username
So if your username is foobar then you can easily access your logs this way:
foobar@zap:~$ cd /var/log/apache_user/foobar
foobar@zap:/var/log/apache_user/foobar$ ls foobar.ulyssis.be
foobar@zap:/var/log/apache_user/foobar$ cd foobar.ulyssis.be
foobar@zap:/var/log/apache_user/foobar/foobar.ulyssis.be$ ls access-2014-05-07.log error-2014-05-07.log
foobar@zap:/var/log/apache_user/foobar/foobar.ulyssis.be$ tail error-2014-05-07.log [Wed May 07 01:27:14 2014] [error] [client 10.0.0.1] File does not exist: /home/user/foobar/www/favicon.ico