You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Liu JinGang <li...@cn.fujitsu.com> on 2011/05/30 05:33:35 UTC

[users@httpd] ErrorLog of CGI canot transfer to syslog

Hi Experts,
 
I have a question that as following, I hope that someone can give me an answer. Thanks!

I've just been doing some debugging of a CGI file. In doing so I was outputting some information to STDERR.I found that the error info can't transfer to syslog.
Why?

If the error info is large amount, the apache is hang... 
I guess it's a problem?

httpd.conf:
-----------------
...
ErrorLog syslog
...
-------------------




---------------------------------------------------------------------
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] ErrorLog of CGI canot transfer to syslog

Posted by Liu JinGang <li...@cn.fujitsu.com>.
Galić:

Thanks for you reply!
> Are you writing to syslog with TCP or UDP?
Apache transfer ErrorLog to syslog by PIPE.
I think it write to syslog with UDP.

> -----Original Message-----
> From: Igor Galić [mailto:i.galic@brainsware.org]
> Sent: Monday, May 30, 2011 5:31 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] ErrorLog of CGI canot transfer to syslog
> 
> 
> 
> ----- Original Message -----
> > Hi Experts,
> >
> > I have a question that as following, I hope that someone can give me
> > an answer. Thanks!
> >
> > I've just been doing some debugging of a CGI file. In doing so I was
> > outputting some information to STDERR.I found that the error info
> > can't transfer to syslog.
> > Why?
> >
> > If the error info is large amount, the apache is hang...
> > I guess it's a problem?
> >
> > httpd.conf:
> > -----------------
> > ...
> > ErrorLog syslog
> > ...
> > -------------------
> 
> 
> Are you writing to syslog with TCP or UDP?
> 
> i
> 
> --
> Igor Galić
> 
> Tel: +43 (0) 664 886 22 883
> Mail: i.galic@brainsware.org
> URL: http://brainsware.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



---------------------------------------------------------------------
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] ErrorLog of CGI canot transfer to syslog

Posted by Igor Galić <i....@brainsware.org>.

----- Original Message -----
> Hi Experts,
>  
> I have a question that as following, I hope that someone can give me
> an answer. Thanks!
> 
> I've just been doing some debugging of a CGI file. In doing so I was
> outputting some information to STDERR.I found that the error info
> can't transfer to syslog.
> Why?
> 
> If the error info is large amount, the apache is hang...
> I guess it's a problem?
> 
> httpd.conf:
> -----------------
> ...
> ErrorLog syslog
> ...
> -------------------


Are you writing to syslog with TCP or UDP?

i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.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