Top Hosting Forum

WebHosting Reviews Forum


Apache log files

Need help with server administration or do you have anything to advice about this topic?
Hosting Forum Description
Need help with server administration or do you have anything to advice about this topic?

Apache log files

Postby vedas88 » Mon Apr 23, 2012 9:58 am

Where can i find apache log files in linux server ?



Ad: There You can have your forum site-wide banner/text ad for $19 monthly. Contact admin


vedas88
 
Posts: 14
Joined: Thu Apr 19, 2012 2:30 pm

Re: Apache log files

Postby hostingforum » Thu Apr 26, 2012 9:12 am

At CentOS/RedHat/Fedora, the Apache log file locatio should be /etc/httpd/logs/ i think. (access_log, error_log)
Another interesting logs are in /var/log

Then i would tail -f /etc/httpd/logs/LOGFILENAME


User avatar
hostingforum
Site Admin
 
Posts: 652
Joined: Fri May 20, 2011 7:58 pm
Location: Czech Republic

Re: Apache log files

Postby darshan » Tue Apr 16, 2019 1:01 pm

There are following logs files are generated in Apache.

1) Error log and
2) access log

You can find the Apache error log files in the following Path.

For Red Hat/CentOS/Fedora Linux Apache error file location – /var/log/httpd/error_log

For Debian / Ubuntu Linux Apache error log file location – /var/log/apache2/error.log

You can find the Apache access log files in the following Path.

For RHEL / Red Hat / CentOS / Fedora Linux Apache access file location – /var/log/httpd/access_log

For Debian / Ubuntu Linux Apache access log file location – /var/log/apache2/access.log


AccuWeb Hosting - One stop shop for your hosting needs.
darshan
 
Posts: 118
Joined: Tue Mar 04, 2014 4:16 pm


Return to Server Administration

Who is online

Users browsing this forum: No registered users and 0 guests

.

cron