httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taisuke Yamada <...@rakugaki.org>
Subject Re: detection of current log level
Date Tue, 19 Dec 2006 04:31:36 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can get current log level from server_rec->loglevel.
Since you have request_rec * object,

  if (rec->server->loglevel >= APLOG_INFO) {
    ...
  }

should do.

- --
Taisuke Yamada <tai@rakugaki.org>, http://rakugaki.org/
5229 959A C85D 3C21 923A  41BD 5D60 D687 701E 5AA9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFh2soXWDWh3AeWqkRAhC1AJ9WDLib1VSNcbeL1rrkWKVrNwTfSACcD4Sc
iDICNRtAQGuGqW3etmSEErw=
=2dpA
-----END PGP SIGNATURE-----

Mime
View raw message