]> andersk Git - mod-vhost-ldap.git/commitdiff
Remove debug logs from set_document_root
authorOndřej Surý <ondrej@sury.org>
Tue, 8 Jun 2010 09:26:04 +0000 (11:26 +0200)
committerOndřej Surý <ondrej@sury.org>
Tue, 8 Jun 2010 11:14:28 +0000 (13:14 +0200)
mod_vhost_ldap.c

index 97671af4d90001cfe92116cbcde5a6f2169199fc..64ee21bd92fc55b6ec8c08589c1ff5c86ecdd791 100644 (file)
@@ -123,15 +123,10 @@ static int set_document_root(request_rec *r, const char *arg)
     core_server_config *conf = ap_get_module_config(sconf, &core_module);
 
     /* Make it absolute, relative to ServerRoot */
-    ap_log_rerror(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, r, 
-                 "[mod_vhost_ldap.c] set_document_root: translating DocumentRoot [%s]",
-                 arg);
     arg = ap_server_root_relative(r->pool, arg);
-    ap_log_rerror(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, 0, r, 
-                 "[mod_vhost_ldap.c] set_document_root: relative DocumentRoot [%s]",
-                 arg);
+
     if (arg == NULL) {
-        ap_log_rerror(APLOG_MARK, APLOG_WARNING|APLOG_NOERRNO, 0, r, 
+        ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, 
                       "[mod_vhost_ldap.c] set_document_root: DocumentRoot [%s] must be a directory",
                      arg);
 
@@ -143,7 +138,7 @@ static int set_document_root(request_rec *r, const char *arg)
                            APR_FILEPATH_TRUENAME, r->pool) != APR_SUCCESS
         || !ap_is_directory(r->pool, arg)) {
 
-        ap_log_rerror(APLOG_MARK, APLOG_STARTUP, 0,
+        ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0,
                      r,
                      "[mod_vhost_ldap.c] set_document_root: Warning: DocumentRoot [%s] does not exist",
                      arg);
This page took 0.200784 seconds and 5 git commands to generate.