You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Okamoto Toshiaki <ok...@palette.plala.or.jp> on 2006/03/23 07:24:03 UTC
[users@httpd] Re: [apachemlen] Re: [users@httpd] [Question]how to output to access
log from original module?
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 <ok...@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
Re: [users@httpd] Re: [apachemlen] Re: [users@httpd] [Question]how to output to access log from original module?
Posted by Joshua Slive <jo...@slive.ca>.
On 3/24/06, Okamoto Toshiaki <ok...@palette.plala.or.jp> wrote:
> Hi Joshua.
> I have one question about nameing rule for key of r->notes table.
> ex. ModuleNamae-XXX.
There are no naming rules. Just try not to clache with anyone else.
Joshua.
---------------------------------------------------------------------
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
Re: [users@httpd] Re: [apachemlen] Re: [users@httpd] [Question]how
to output to access log from original module?
Posted by Okamoto Toshiaki <ok...@palette.plala.or.jp>.
Hi Joshua.
I have one question about nameing rule for key of r->notes table.
ex. ModuleNamae-XXX.
Thanks.
T.Okamoto
On 2006/03/23 15:24, Okamoto Toshiaki wrote:
> 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 <ok...@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
>
>
---------------------------------------------------------------------
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