Disable Apache Error Logging
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site disable apache access log About Us Learn more about Stack Overflow the company Business Learn more about
Apache Error Logging Level
hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss apache turn off error log Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up disabling apache logging
Apache Startup Log
to access.log [closed] up vote 7 down vote favorite I've been reading about disabling the logging of the apache server, which is crucial for me as I'm running huge tests on it, and it fills the disk. I've tried changing http.conf and directing stuff to /dev/null, but none of it worked, as most of it was the Error logging. Any idea anyone? Thanks linux apache php error logging logging share|improve this question asked Nov 25 '12 at 15:14 Alon_T 41831029 closed as off-topic by Matteo Tassinari, HansUp, user000001, Mike, Ruchira Gayan Ranaweera Sep 2 '13 at 17:05 This question appears to be off-topic. The users who voted to close gave this specific reason:"Questions on professional server- or networking-related infrastructure administration are off-topic for Stack Overflow unless they directly involve programming or programming tools. You may be able to get help on Server Fault." – Matteo Tassinari, HansUp, user000001, Mike, Ruchira Gayan RanaweeraIf this question can be reworded to fit the rules in the help center, please edit the question. add a comment| 2 Answers 2 active oldest votes up vote 5 down vote accepted In order to disable and turn off the Apache logging, just comment out the log lines in the Apache configuration file. Read more here. share|improve this answer answered Nov 25 '12 at 15:24 undone 6,20232756 Yeah I dag a little in the file and saw it..figured it would disable it ..thanks for your help –Alon_T Nov 25 '12 at 15:34 1 not really, "Commenting out that line does not disable the errorlog, it just
have several high traffic sites that put a considerable IO load on the sytem because of their access and error logging. I can't find any option in ISPConfig 3 to disable logging on a site or the entire
Mysql Error Logging
server. How can this be done? karon, Apr 6, 2011 #1 till Super Moderator
Tomcat Error Logging
Staff Member ISPConfig Developer Edit the ispconfig.conf file in /etc/apache2/sites-available and comment out the customlog line, then restart apache. till, Apr disable apache access log windows 7, 2011 #2 karon New Member The line in question looks like this: CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m%d-access.log\" -d \"/etc/vlogger-dbi.conf\" /var/log/ispconfig/httpd" combined_ispconfigClick to expand... So if I comment this out, error logging (that's defined in http://stackoverflow.com/questions/13552312/disabling-apache-logging-to-access-log the sites individual vhost files) will still be on, right? karon, Apr 7, 2011 #3 till Super Moderator Staff Member ISPConfig Developer yes. the line above is the access.log and not the error.log. till, Apr 7, 2011 #4 abubin New Member how do is disable the access.log only? I don't see the customlog in the vhost file for the specified domain. Using ispconfig 3.0.2.2 abubin, Aug 5, 2011 #5 till Super Moderator https://www.howtoforge.com/community/threads/how-to-disable-apache-logging.52180/ Staff Member ISPConfig Developer Just remove the line that is mentioned in post #3 from the apache config. It is in the ispconfig.conf file and not in a vhost as it is a global logging directive and not site specific. till, Aug 5, 2011 #6 cypriot New Member Found an easy way of doing this go into website settings and options in admin of Ispconfig, and add this two line into Apache Directives CustomLog /dev/null Combined AccessLog /dev/null Combined you will see all logs will stop i guess you guys can add tick box on the setting page of the site to add this two line auto ? Regards cypriot, Feb 2, 2013 #7 (You must log in or sign up to reply here.) Show Ignored Content Share This Page Tweet Log in with Facebook Log in with Twitter Log in with Google Your name or email address: Do you already have an account? No, create an account now. Yes, my password is: Forgot your password? Stay logged in Sign up now! Forum Statistics Discussions: 53,482 Messages: 283,658 Members: 91,667 Latest Member: gina1876 Share This Page Tweet Howtoforge - Linux Howtos and Tutorials Home Forums > ISPConfig 3 > Installation/Configuration > English | Deutsch Tutorials Tags Forums Forums Quick Links Search Forums Recent Posts Members Members Quick Links Notab
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers http://serverfault.com/questions/395293/how-to-completely-disable-apache-access-log or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server http://serverfault.com/questions/312453/turn-off-error-and-access-logs-for-one-virtual-host Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How to completely disable apache access log? [closed] up vote 4 down vote favorite 2 I'm running WAMP server on error log Windows Server 2003, Apache 2.2, and I would like to completely disable writing into the access log. It would be neat if I could do the following, but I'm on Windows: CustomLog "|/dev/null" common All I get in the error log is "piped log program '/dev/null' failed unexpectedly", although I kinda expected this... Is there a Windows alternative to this or any other way to just disable writing the access log? apache-2.2 windows logging share|improve this question edited Jun 4 '12 apache error logging at 10:02 asked Jun 4 '12 at 9:33 Miljenko Barbir 12916 closed as off topic by Chris S Jun 22 '12 at 17:41 Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question. 5 Isn't it enough to just comment this line? –Khaled Jun 4 '12 at 9:36 How about CustomLog "|NUL" common –Alan Kuras Jun 4 '12 at 13:09 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote accepted If you don't specify a log, Apache will not log... just comment out the line. Piping it to the bit bucket is a bit of a waste, Apache will generate all log entries and write them all out, but the OS dumps them. Would make much more sense to just disable logging. The Error log can be disabled with ErrorLog off too. share|improve this answer answered Jun 4 '12 at 13:17 Chris S 69.9k788183 add a comment| Not the answer you're looking for? Browse other questions tagged apache-2.2 windows logging or ask your own question. asked 4 years ago viewed 5713 times active 4 years
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Turn off error and access logs for one virtual host up vote 12 down vote favorite 3 If I dont set a error log inside a virtual host it will default to the default error/access log. Is there a way to turn this off for one virtual host? linux apache-2.2 virtualhost share|improve this question asked Sep 17 '11 at 8:03 John Magnolia 40531330 add a comment| 2 Answers 2 active oldest votes up vote 20 down vote accepted Within your