You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jim Jagielski <ji...@jaguNET.com> on 1998/08/10 16:49:29 UTC
loglevel
Any reason why we have loglevel both in core_dir_config and server_rec ?
I think only the server_rec one seems to be used.
--
===========================================================================
Jim Jagielski ||| jim@jaguNET.com ||| http://www.jaguNET.com/
"That's no ordinary rabbit... that's the most foul,
cruel and bad-tempered rodent you ever laid eyes on"
Re: loglevel
Posted by Martin Kraemer <Ma...@mch.sni.de>.
On Wed, Aug 12, 1998 at 10:34:10AM -0400, Jim Jagielski wrote:
> Any vetos to it being removed?
Nope. I see no trace of a use of the core_dir_config.loglevel anywhere:
Martin
> find src -name '*.[ch]' | xargs egrep '\<loglevel\>'
src/main/http_log.c: ((level & APLOG_LEVELMASK) > s->loglevel))
src/main/http_log.c: if ((level & APLOG_LEVELMASK) > s->loglevel)
src/main/http_core.c:static const char *set_loglevel(cmd_parms *cmd, void *dummy, const char *arg)
src/main/http_core.c: cmd->server->loglevel = APLOG_EMERG;
src/main/http_core.c: cmd->server->loglevel = APLOG_ALERT;
src/main/http_core.c: cmd->server->loglevel = APLOG_CRIT;
src/main/http_core.c: cmd->server->loglevel = APLOG_ERR;
src/main/http_core.c: cmd->server->loglevel = APLOG_WARNING;
src/main/http_core.c: cmd->server->loglevel = APLOG_NOTICE;
src/main/http_core.c: cmd->server->loglevel = APLOG_INFO;
src/main/http_core.c: cmd->server->loglevel = APLOG_DEBUG;
src/main/http_core.c:{ "LogLevel", set_loglevel, NULL, RSRC_CONF, TAKE1,
src/main/http_config.c: s->loglevel = main_server->loglevel;
src/main/http_config.c: s->loglevel = DEFAULT_LOGLEVEL;
src/include/httpd.h: int loglevel;
src/include/http_core.h: int loglevel;
--
| S I E M E N S | <Ma...@mch.sni.de> | Siemens Nixdorf
| ------------- | Voice: +49-89-636-46021 | Informationssysteme AG
| N I X D O R F | FAX: +49-89-636-44994 | 81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request
Re: loglevel
Posted by Randy Terbush <ra...@Covalent.NET>.
"As I remember" this should have ended up in server_rec only as it was
much too major of a change to make core_dir_config. At the time, we
were "near release". :-)
Jim Jagielski <ji...@jaguNET.com> writes:
> Any reason why we have loglevel both in core_dir_config and server_rec ?
> I think only the server_rec one seems to be used.
> --
> ===========================================================================
> Jim Jagielski ||| jim@jaguNET.com ||| http://www.jaguNET.com/
> "That's no ordinary rabbit... that's the most foul,
> cruel and bad-tempered rodent you ever laid eyes on"