You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Akins, Brian" <Br...@turner.com> on 2005/07/25 19:41:19 UTC

Corrupting error log buffer?

Maybe a little off topic, but driving me crazy...

It looks like I have somehow corrupted something about the server error log.
After Apache has been running for a while, entries in my error log always
have the following for example:

[Mon Jul 25 13:15:28 2005] [error] [client 85.140.27.54] url_cache_handler:
may serve STALE content: 0: /toon/tools/img/jewel.jpg, referer:
http://schedule.cartoonnetwork.com/servlet/ScheduleServlet?action=show&showI
D=320361&show=Justice%20League&filter=tm


But, I am not logging from "referer" on.  That shouldn't be there.

It looks like somewhere I have a mis-match between the format and number of
arguments to ap_log_rerror.

Anyone know a good way to track it down?

Thanks.

--Brian Akins


Re: Corrupting error log buffer?

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
At 12:52 PM 7/25/2005, André Malo wrote:
>* Akins, Brian wrote:
>
>> [Mon Jul 25 13:15:28 2005] [error] [client 85.140.27.54]
>> url_cache_handler: may serve STALE content: 0: /toon/tools/img/jewel.jpg,
>> referer:
>> http://schedule.cartoonnetwork.com/servlet/ScheduleServlet?action=show&sh
>>owI D=320361&show=Justice%20League&filter=tm
>>
>> But, I am not logging from "referer" on.  That shouldn't be there.
>
>It's added automatically by the error logging code, if it can be determined.

I brought this up before (logging referrer controls the access, not
the error log).  A possible solution was proposed to allow some sort
of formatting for error log 'annotation'.  This was a one-off request
to the old bug tracking system that was based on the common "how did
we land here?  who sent them to this URL?" question.  But there are
plenty of places that this change to Apache 1.3 and later is nothing
but alot of extra noise.

Bill  


Re: Corrupting error log buffer?

Posted by André Malo <nd...@perlig.de>.
* Akins, Brian wrote:

> [Mon Jul 25 13:15:28 2005] [error] [client 85.140.27.54]
> url_cache_handler: may serve STALE content: 0: /toon/tools/img/jewel.jpg,
> referer:
> http://schedule.cartoonnetwork.com/servlet/ScheduleServlet?action=show&sh
>owI D=320361&show=Justice%20League&filter=tm
>
>
> But, I am not logging from "referer" on.  That shouldn't be there.

It's added automatically by the error logging code, if it can be determined.

nd
-- 
> Rätselnd, was ein Anthroposoph mit Unterwerfung zu tun hat...
                    ^^^^^^^^^^^^
[...] Dieses Wort gibt so viele Stellen für einen Spelling Flame her, und
Du gönnst einem keine einzige.    -- Jean Claude und David Kastrup in dtl