Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 137
  • Last Modified:

How to enable Log Files on Apache

my Web Servers Run Latest Apache Version and i need the steps to enable the server so it makes .log files
0
mcse20002000
Asked:
mcse20002000
2 Solutions
 
ramazanyichCommented:
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access.log common
ErrorLog logs/error.log
LogLevel warn


access.log will have every request from browser logged.
error.log will have error messages.

For more details see http://httpd.apache.org/docs/logs.html
0
 
caterham_wwwCommented:
put into your httpd.conf (or search for the line customlog and remove the # from the line if present)

CustomLog logs/access_log combined
ErrorLog logs/error_log
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now