LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-01-2007, 12:44 AM   #1
walidaly
Member
 
Registered: Mar 2007
Posts: 64

Rep: Reputation: 15
disable apache 1.3 logging / logs


I'm trying to disable all apache logs as I'm handling it by code, I commented all log lines but error_log is still being created and apache is logging errors to the file, is there a way to disable it?
 
Old 04-02-2007, 02:55 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,962

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
I guess the only way to do this is to use /dev/null for logging:
Code:
ErrorLog /dev/null
or delete the error_log and create a symlink for this:
Code:
ln -s /dev/null /path/to/apache/logs/error_log
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba can't disable printing and errors in logs humbletech99 Linux - Networking 0 09-29-2006 12:21 PM
Disable logging RH 7.3 qmail-apache etc DropHit Red Hat 3 04-13-2005 05:44 AM
Disable all Apache 2.x logging hakcenter Linux - Networking 2 12-05-2003 01:34 AM
Apache logs - ???Linux logs??? mylo2003 Linux - General 3 08-07-2003 05:49 PM
disable logging rsbecker007 Linux From Scratch 2 04-09-2002 10:58 PM


All times are GMT -5. The time now is 06:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration