www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derek Smith <de...@motortrak.com>
Subject general/4799: Errors logged are in a different format to NCSA and we would like to change it
Date Fri, 30 Jul 1999 11:04:09 GMT

>Number:         4799
>Category:       general
>Synopsis:       Errors logged are in a different format to NCSA and we would like to change
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Jul 30 04:10:01 PDT 1999
>Originator:     derek@motortrak.com
>Release:        1.3.6
Solaris 2.6 sparc and i386 versions
GNU compiler
The format of the error_log for Apache 1.3.6 on Solaris is similar to a syslog 
entry, but we would like to use the format that NCSA used.  I thought it would 
be possible to use LogFormat and CustomLog, but of course they log all requests 
and it is not possible to get it to exclude a whole entry, just certain 
variables (which will print a hyphen if they have no value!)

I know this is minor, but it will help if I can achieve this as I would like to, 
for example, add a referring file entry if a 404.
Look at NCSA default logfile format.
If you could make the CustomLog directive log only on certain error conditions 
you could create your own error_log format and write a seperate style of 
LogFormat line for every status(or the ones you want to log/monitor)
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message