DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20241>.
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=20241

Add log format to log file itself





------- Additional Comments From [EMAIL PROTECTED]  2003-05-26 14:53 -------
Hmm, then I've misread your suggestion. Sorry.

Anyway, there is no real way to determine, that the logformat has changed.
You'll need to restart the server in order to change the logformat and all
previous settings are gone and forgotten.
Writing a "logformat" string into the log every time the server restarts may
lead to confusion when restarting gracefully, since the currently running
children will log the old format...
(Additionally under win32 apache automatically restarts from time to time, so
you'd have from time to time such identifiers in your logs without doing a
manual restart).

The really clean solution would be to insert that string into every log entry.

However, I don't believe that someone is willing to extend mod_log_config to
insert such a format identifier into every logfile after startup. But AFAICS,
mod_log_config has proper interfaces, so it's probably possible to write an
extension module, that provides functionality for that edge case.

One could also build a small program or script that takes the log data (piped
log) and inserts such a string itself after startup and does nothing else.

I'll leave the report open for now, but I think, it will finally die as 
"wontfix".

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to