Enable Verbose Logs In Apache On Redhat/CentOS 7

Enable Verbose Logs In Apache, If you want to see more information about logs in Apache web server can be done by changing LogLevel. we can also change the apache log level where you can define the location of the access log in the configuration file.

Apache logs help us to find the issue on the server and particular website. we also create the custom logs to filter the logs for a particular website. There’re access, error, and also SSL log errors we can create to find the issues.

Enable Verbose Logs In Apache Server:

The log format is also available on the apache official site. you may find it here.

you have to change in httpd.conf  file located at /etc/httpd/conf/httpd.conf

Check Out: Install Apache Web Server

Go the file and see default LogLevel is set to warn

You have to change it either in info or debug to view logs in more detail.

Enable Verbose Logs

Check Out: Disable HTTP TRACE or TRACK Request In httpd (Apache)

After that restart the Apache server and That’s only for troubleshooting purposes, don’t forget to set it to the default position in httpd.conf file otherwise your server will be filled up with logs.

That’s it. change apache log level logs in apache log location access

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment