]> git.datanom.net - qtadmin.git/blobdiff - config.php
add more debug info
[qtadmin.git] / config.php
index 23807942e0daa0140092ccc22854b5d67b8f14d5..ccc09c68e90c97c6fa89c2617070a8158c689308 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 /* vim: set ts=4 tw=0 sw=4 noet: */
+unset($CFG);
 $CFG = new stdClass;
 
 // Amavis
@@ -13,6 +14,9 @@ $CFG->amavis_policy_port = 9998;
 $CFG->ldap_dsn =  "ldap://127.0.0.1:389";
 $CFG->ldap_base_dn = "o=domains,dc=datanom,dc=net";
 
+// wblistadm server
+$CFG->wblistadm_url = "http://127.0.0.1:8080";
+
 $CFG->root = '/usr/share/quarantine-admin/';
 $CFG->wwwroot = '/qtadmin/';
 
@@ -28,4 +32,25 @@ $DB = null;
 // Default timeout is 20 minuts
 $CFG->session_timeout = 60;
 
+// Log level
+// 0 = no logging
+// 1 = error
+// 2 = warning
+// 3 = info
+// 4 = debug
+// Default log level is error
+$CFG->log_level = 3;
+
+// Log method
+// stderr = Log to stand error
+// file = Log to file. Requires write permission
+// syslog = syslog
+// Default log method is syslog
+$CFG->log_method = 'syslog';
+
+// File to log to if log method is file
+// Both relative and absolut path is accepted
+// If path is relative root is $CFG->root
+// Default file is $CFG->root.qtadmin.log
+$CFG->log_file = 'qtadmin.log';
 ?>
This page took 0.029306 seconds and 5 git commands to generate.