Return-Path: Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 99688 invoked by uid 500); 8 Jan 2003 21:07:37 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Apache HTTPD Bugs Notification List" Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 99675 invoked from network); 8 Jan 2003 21:07:37 -0000 Date: 8 Jan 2003 21:08:59 -0000 Message-ID: <20030108210859.17818.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: bugs@httpd.apache.org Cc: Subject: DO NOT REPLY [Bug 15905] New: - turn off ErrorLog enhancement X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15905 turn off ErrorLog enhancement Summary: turn off ErrorLog enhancement Product: Apache httpd-2.0 Version: 2.0.43 Platform: All OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Core AssignedTo: bugs@httpd.apache.org ReportedBy: pedietz@west.com I would like to see an option to ErrorLog that turns off the filelogging and syslogging. Perhaps: ErrorLog none Then people using custom modules that hook onto ap_hook_error_log(), will not get duplicate error messages... (I have to log to syslog in a special format...not the one done by apache. Right now everything gets logged 2 times...once by log_error_core and once by my special module). An alternative: Put the "writing routines" of log_error_core() into its own function (let's call it write_error_log)...and add that function to the "hook list" as ap_hook_error_log(write_error_log,NULL,NULL,APR_HOOK_MIDDLE); Then I can set my custom module to APR_HOOK_FIRST and have it return a special value so write_error_log() is not done. Right now log_error_core is always 1st regardless. Please consider this. Most people don't care about error logs...but large companies do. (ps my module adds project ids to the errors, so we can pinpoint who is having issues. ie [Wed Jan 08 15:32:10 2003] [error] [client 10.50.80.42] [client pepsi] [project sweepstake11] [hitid HPhyKyqweXm0AADcWAsc] File does not exist: /usr/loca l/apache2/htdocs/a.cgierferf Tools like unicenter can key off of [client] and [project] and escalate special. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org