summaryrefslogtreecommitdiffstats
path: root/src/mod_auth_gssapi.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-10-13 16:46:26 -0400
committerSimo Sorce <simo@redhat.com>2014-10-13 16:47:55 -0400
commitaa4f8f9c06eec26248f068f445fe2412cb6f467b (patch)
treea53758545ad32e5254bcc29bfbd3f90287f36b58 /src/mod_auth_gssapi.c
parentbb7c20bc7f487b52c79ec0279c3f83d13582f9c2 (diff)
downloadmod_auth_gssapi-aa4f8f9c06eec26248f068f445fe2412cb6f467b.tar.gz
mod_auth_gssapi-aa4f8f9c06eec26248f068f445fe2412cb6f467b.tar.xz
mod_auth_gssapi-aa4f8f9c06eec26248f068f445fe2412cb6f467b.zip
Properly initialize logging
We need to call APLOG_USE_MODULE() so that the module name is reported properly in log lines, and per module logging level can be set. Fixes #6
Diffstat (limited to 'src/mod_auth_gssapi.c')
-rw-r--r--src/mod_auth_gssapi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mod_auth_gssapi.c b/src/mod_auth_gssapi.c
index c33ea34..f2fab57 100644
--- a/src/mod_auth_gssapi.c
+++ b/src/mod_auth_gssapi.c
@@ -28,6 +28,8 @@
module AP_MODULE_DECLARE_DATA auth_gssapi_module;
+APLOG_USE_MODULE(auth_gssapi);
+
APR_DECLARE_OPTIONAL_FN(int, ssl_is_https, (conn_rec *));
static char *mag_status(request_rec *req, int type, uint32_t err)