httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tianyin Xu <t...@cs.ucsd.edu>
Subject Re: [users@httpd] In what condition, can this log message be printed?
Date Wed, 05 Dec 2012 19:20:51 GMT
Thanks, Eric.

Yes, I understand. But my problem is whatever LogLevel I set, I cannot see
this message, neither in error log nor in stderr.

I guess I must miss something.

Best,
Tianyin



On Wed, Dec 5, 2012 at 4:09 AM, Eric Covener <covener@gmail.com> wrote:

> On Wed, Dec 5, 2012 at 1:55 AM, Tianyin Xu <tixu@cs.ucsd.edu> wrote:
> > Hi, all,
> >
> > I noticed in my error log the MaxRequestWorkers setting is reached, but I
> > never configured this option. Further, I found it's deprecated according
> to
> > the log. In the code, I find the following logging statement:
> >
> > /* server/mpm/event/event.c */
> >     if (!strcasecmp(cmd->cmd->name, "MaxClients")) {
> >         ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, APLOGNO(00521)
> >                      "MaxClients is deprecated, use MaxRequestWorkers "
> >                      "instead.");
> >
> > The problem is no matter what LogLevel I set, the log message cannot be
> > printed, neither on the screen or in errorlog.
> >
> > Could anyone tell me how to print out such log messages? What did I miss?
> >
> > Thanks a lot!
> > Tianyin
> >
> Configure MaxClients and you'll see the message at startup.  It's an
> alias for MaxRequestWorkers, which has a compiled in default even if
> you don't configure it  by either name.
>
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
Tianyin XU,
http://cseweb.ucsd.edu/~tixu/

Mime
View raw message