You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/09/03 15:05:13 UTC
DO NOT REPLY [Bug 47780] New: Critical errors should be marked by
time and level.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47780
Summary: Critical errors should be marked by time and level.
Product: Apache httpd-2
Version: 2.2.11
Platform: PC
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: dezodemeter@gmail.com
--- Comment #0 from dezodemeter@gmail.com 2009-09-03 06:05:12 PDT ---
Critical errors should be marked by time and level. Right now only the error
message is printed with no other necessary informations.
[Thu Sep 03 10:15:08 2009] [notice] Graceful restart requested, doing restart
[Thu Sep 03 10:15:17 2009] [warn] VirtualHost ... :443 overlaps with
VirtualHost ..:443, the first has precedence, perhaps you need a
NameVirtualHost directive
(2)No such file or directory: apache2: could not open error log file
/home/hosting/grenade.cz/web/unionpoint/logs/error.log.
Unable to open logs
I propose this:
[Thu Sep 03 10:15:08 2009] [notice] Graceful restart requested, doing restart
[Thu Sep 03 10:15:17 2009] [warn] VirtualHost ... :443 overlaps with
VirtualHost ..:443, the first has precedence, perhaps you need a
NameVirtualHost directive
[Thu Sep 03 10:15:17 2009] [error] (2)No such file or directory: apache2: could
not open error log file [Thu Sep 03 10:15:17 2009] [error]
/home/hosting/grenade.cz/web/unionpoint/logs/error.log.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 47780] Critical errors should be marked by time
and level.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47780
--- Comment #1 from Dan Poirier <po...@pobox.com> 2009-09-23 08:03:07 PDT ---
It looks like you could change this around line 593 of server/log.c (in trunk),
by getting rid of the two if-statements and just adding the time and level
unconditionally.
That code was added in r84134 and it's not clear to me whether there was a need
to not add the timestamp and log level for startup messages, or existing
behavior was just being preserved in that change. Maybe someone else can
comment. Or you could just try it and see if any problems show up.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org