Top Hosting Forum

WebHosting Reviews Forum


Budget DirectAdmin hosting and domain names

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 $99 yearly. 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: 656
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: 165
Joined: Tue Mar 04, 2014 4:16 pm
Location: USA

Re: Apache log files

Postby BenSupportSages » Tue Aug 20, 2019 6:45 am

Apache Default Error Log

Red Hat based Linux - /var/log/httpd/error_log

Debian / Ubuntu Linux Apache - /var/log/apache2/access.log

FreeBSD - /var/log/httpd-access.log

You can also grep for the location of the log file in the apache configuration file.


BenSupportSages
 
Posts: 8
Joined: Thu Jun 13, 2019 6:27 am

Re: Apache log files

Postby goodping » Wed Oct 09, 2019 6:49 am

You can find the apache log location by checking the apache configuration file /etc/httpd.conf. All the variables asociated with Apache webserver is defined in the configuration file.


goodping
 
Posts: 12
Joined: Wed Oct 09, 2019 6:36 am


Return to Server Administration

Who is online

Users browsing this forum: No registered users and 1 guest

.

cron