[users@httpd] Re: [apachemlen] Re: [users@httpd] [Question]how to output to access log from original module?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux