[pLog-svn] r2198 - plog/trunk/config

ork at devel.plogworld.net ork at devel.plogworld.net
Sat Jun 11 21:57:48 GMT 2005


Author: ork
Date: 2005-06-11 21:57:47 +0000 (Sat, 11 Jun 2005)
New Revision: 2198

Modified:
   plog/trunk/config/logging.properties.php
Log:
added a debug.log to separate debug from normal log messages


Modified: plog/trunk/config/logging.properties.php
===================================================================
--- plog/trunk/config/logging.properties.php	2005-06-10 15:58:21 UTC (rev 2197)
+++ plog/trunk/config/logging.properties.php	2005-06-11 21:57:47 UTC (rev 2198)
@@ -5,12 +5,20 @@
 # be disabled once the final version is out anyway...
 #
 $config["default"] = Array( 
-    "layout" => "%d %N - [%f:%l (%c:%F)] %m%n", 
+    "layout"   => "%d %N - [%f:%l (%c:%F)] %m%n", 
     "appender" => "file",
-	"file" => "tmp/plog.log",
-    "prio" => "debug"
+	"file"     => "tmp/plog.log",
+    "prio"     => "debug"
   );
+
+// debug output sent to debug.log by default. 
   
+$config["debug"] = Array( 
+    "layout"   => "%d %N - [%f:%l (%c:%F)] %m%n", 
+    "appender" => "file",
+	"file"     => "tmp/debug.log",
+    "prio"     => "info"
+  );
 #
 # this logger is the only one enabled by default
 # and it will log all sql queries that generate an error




More information about the pLog-svn mailing list