You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Chuck Murcko <ch...@telebase.com> on 1996/01/25 21:33:16 UTC

timestamps in logs

I've been looking into adding timestamps to the other logs we are looking
into keeping here, and I've noticed that access log has a different time
format than error log, and both are logged at different execution times.
Would it be a better idea for me to bite the bullet and add a timestamp to
conn_rec to be used for all logging, and make the appropriate changes to
the rest of the code?

This works for me since it also doesn't break the API, a conn_rec * being
carried with each request_rec.

If so, is it for compatibility reasons that we have times like

[25/Jan/1996:14:39:14 -0500]

in the access log and

[Thu Jan 25 13:50:47 1996]

in the error log? (BTW, I'm not referring 8^) to the TZ)

I can easily leave things format-wise the same, since I'm not intending
to timestamp the conn_rec with other than binary time just yet.
So, if there's no consensus, it'll look just like it does now.

Wot say ye?

chuck
Chuck Murcko	Telebase Systems, Inc.	Wayne PA	chuck@telebase.com
And now, on a lighter note:
Please ignore previous fortune.