httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Okamoto Toshiaki <okamo...@palette.plala.or.jp>
Subject [users@httpd] Re: [apachemlen] Re: [users@httpd] [Question]how to output to access log from original module?
Date Thu, 23 Mar 2006 06:24:03 GMT
Self following.
On 2006/03/23 13:34, Okamoto Toshiaki wrote:
> Hi Joshua.
> Thank for your quick Response.
> 
> On 2006/03/23 11:43, Joshua Slive wrote:
>> On 3/22/06, Okamoto Toshiaki <okamoto3@palette.plala.or.jp> wrote:
>>> Hi everyone!
>>> I am going to develop original module based on Apache httpd Ver.2.0.55.
>>> [Question]How to output to access log from my module with original
>>> format without modefication core sources:core.c,
>>> http_core.c,mod_log_config.c
>>> Is it possible?
>>
>> You can write something to a "note" or env variable that can then be
>> logged with the appropriate format string.
> Would you teach me a more pricisely to write to a "note" or pointer to 
> related documents or codes?
>> Joshua.
Add to Customlog directive folling term
%{MY-LOG1}n
In my module call following function
apr_table_set(r->notes,"MY-LOG", "LOGValue");
I have one question about notes table:r->notes.
Is there limitations of table: Maximum sizeof value?
> 
> T. Okamoto
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
Thank you
T.Okamoto

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message