DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40586>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40586 Summary: Add option to supress default '-' output Product: Apache httpd-2 Version: 2.3-HEAD Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: mod_log_config AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Quick patch for mod_log_config to add a '^' modifier which suppresses the default output of '-' by process_item whenever it gets a NULL back from a LogFormat item, outputting an empty string instead. eg: LogFormat "url: \"%^U\"\n referer: \"%^{Referer}i\"\n agent: \"%^{User-Agent}i\"" sample This allows users to solve some ambiguity with items like \"%{Referer}i\" or \"%{User-Agent}i\" where "-", although rather useless, is a valid referrer if it was passed in and should treated as such by a log processing program, instead of being thrown away because it represents an empty value. Plus it eliminates the need for anyone writing a log processor to dig through the code to determine what might happen to output a '-' indicating a non existent value and handle it accordingly. Will submit a documentation patch if accepted. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
