Re: In what condition, can this log message be printed?

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

 



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@xxxxxxxxx> wrote:
On Wed, Dec 5, 2012 at 1:55 AM, Tianyin Xu <tixu@xxxxxxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




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


[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