[us...@httpd] mod_log_config issue

2010-01-27 Thread Joe Hammerman
Hello Apache users list. We have an issue with mod_log_config; specifically we are trying to pipe log output through Sed before it goes to Cronolog. The result is that we get no output whatsoever. Here is a sample of the directives we are using in our VirtualHost container: CustomLog |

Re: [us...@httpd] mod_log_config

2009-06-15 Thread ricardo figueiredo
Hi, I gave up !!! It's very difficult Now, I would like know: How do I compile a module built-in ?? Because, I modified the mod_log_config and compiled (apxs -a -i -c mod_log_config.c). After, I started Apache and shows this: httpd: Syntax error on line 56 of

Re: [us...@httpd] mod_log_config

2009-06-15 Thread Eric Covener
On Mon, Jun 15, 2009 at 9:18 AM, ricardo figueiredoricardoogra...@gmail.com wrote: Hi, I gave up !!! It's very difficult Now, I would like know: How do I compile a module built-in ?? Because, I modified the mod_log_config and compiled (apxs -a -i -c mod_log_config.c). After, I started

Re: [us...@httpd] mod_log_config

2009-06-15 Thread ricardo figueiredo
Hi, How do I compile Apache with mod_log_config like DSO ??? I compiled Apache like this: ./configure --enable-proxy --enable-rewrite Thank you Ricardo On Mon, Jun 15, 2009 at 10:32 AM, Eric Covener cove...@gmail.com wrote: On Mon, Jun 15, 2009 at 9:18 AM, ricardo

Re: [us...@httpd] mod_log_config

2009-06-15 Thread Eric Covener
On Mon, Jun 15, 2009 at 9:50 AM, ricardo figueiredoricardoogra...@gmail.com wrote: Hi, How do I compile Apache with mod_log_config like DSO ??? I compiled Apache like this: ./configure --enable-proxy --enable-rewrite ./configure --help | grep shared or read the INSTALL file. -- Eric

Re: [us...@httpd] mod_log_config

2009-06-15 Thread ricardo figueiredo
ok Eric, One more time: Thank you Ricardo On Mon, Jun 15, 2009 at 11:19 AM, Eric Covener cove...@gmail.com wrote: On Mon, Jun 15, 2009 at 9:50 AM, ricardo figueiredoricardoogra...@gmail.com wrote: Hi, How do I compile Apache with mod_log_config like DSO ??? I compiled Apache like

Re: [us...@httpd] mod_log_config

2009-06-15 Thread ricardo figueiredo
Hi, How do I modified mod_log_config to write log only in a row ??? Instead append log in file. Thank you Ricardo On Mon, Jun 15, 2009 at 11:22 AM, ricardo figueiredo ricardoogra...@gmail.com wrote: ok Eric, One more time: Thank you Ricardo On Mon, Jun 15, 2009 at 11:19 AM, Eric

Re: [us...@httpd] mod_log_config

2009-06-12 Thread ricardo figueiredo
Hi, When I configured only file apache works. CustomLog logs/default_log common Now, I configured: CustomLog logs/default_log|/usr/local/apache2/program common and Apache doesn't work. Thank you Ricardo On Fri, Jun 12, 2009 at 4:09 PM, Eric Covener cove...@gmail.com wrote: On Fri, Jun 12,

Re: [us...@httpd] mod_log_config

2009-06-12 Thread ricardo figueiredo
On Fri, Jun 12, 2009 at 4:09 PM, Eric Covener cove...@gmail.com wrote: On Fri, Jun 12, 2009 at 3:02 PM, ricardo13ricardoogra...@gmail.com wrote: 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()

Re: [us...@httpd] mod_log_config

2009-06-12 Thread Eric Covener
On Fri, Jun 12, 2009 at 3:45 PM, ricardo figueiredoricardoogra...@gmail.com wrote: But When I request a page doesn't show Value: 1234 in the prompt, for example. What's wrong ?? Anyone has a example ?? Where does standard out from a piped logger go?  Try writing to a file.          

Re: [us...@httpd] mod_log_config

2009-06-12 Thread ricardo figueiredo
On Fri, Jun 12, 2009 at 6:37 PM, Eric Covener cove...@gmail.com wrote: On Fri, Jun 12, 2009 at 3:45 PM, ricardo figueiredoricardoogra...@gmail.com wrote: But When I request a page doesn't show Value: 1234 in the prompt, for example. What's wrong ?? Anyone has a example ??

Re: [us...@httpd] mod_log_config

2009-06-12 Thread Eric Covener
On Fri, Jun 12, 2009 at 5:45 PM, ricardo figueiredoricardoogra...@gmail.com wrote:     double d;    fscanf(stdin, %f, d); Try testing this on the command line before you try to test it integrated into apache. Shouldn't the final parameter be a pointer? -- Eric Covener cove...@gmail.com