mod_log_config

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

 



Hi,

I'm testing the mod_log_config.

I did a simple program to read stardard input. Called program.c

#include <stdio.h>
int main() {
    char input[BUFSIZ];
  
    while(fgets(input, BUFSIZ, stdin) != NULL)
       printf("Value: %s\n", input);
    return 0;
}

I configured httpd.conf to send information log to this program.

LogFormat "%D" common
CustomLog "|/usr/local/apache2/program" common

But When I request a page doesn't show "Value: 1234" in the prompt, for
example.
What's wrong ?? Anyone has a example ??

Thanks
Ricardo

-- 
View this message in context: http://www.nabble.com/mod_log_config-tp24004505p24004505.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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