[pLog-svn] r2072 - plog/branches/plog-1.0.1/release

oscar at devel.plogworld.net oscar at devel.plogworld.net
Tue May 24 17:03:10 GMT 2005


Author: oscar
Date: 2005-05-24 17:03:09 +0000 (Tue, 24 May 2005)
New Revision: 2072

Added:
   plog/branches/plog-1.0.1/release/logging.properties.php.dist
Log:
default logging file that is used when generating builds


Added: plog/branches/plog-1.0.1/release/logging.properties.php.dist
===================================================================
--- plog/branches/plog-1.0.1/release/logging.properties.php.dist	2005-05-24 16:52:34 UTC (rev 2071)
+++ plog/branches/plog-1.0.1/release/logging.properties.php.dist	2005-05-24 17:03:09 UTC (rev 2072)
@@ -0,0 +1,36 @@
+<?php
+#
+# configuration for the default logger. If it is generating
+# too much logs for your tatest, set "appender" to "null". This will
+# be disabled once the final version is out anyway...
+#
+$config["default"] = Array( 
+    "layout" => "%d %N - [%f:%l (%c:%F)] %m%n", 
+    "appender" => "null",
+	"file" => "tmp/plog.log",
+    "prio" => "debug"
+  );
+  
+#
+# this logger is the only one enabled by default
+# and it will log all sql queries that generate an error
+# to the file tmp/sql_error.log
+#
+$config["sqlerr"] = Array( 
+    "layout" => "%d %N - %m%n", 
+    "appender" => "file",
+	"file" => "tmp/sql_error.log",
+    "prio" => "error"
+  );
+  
+#
+# special logger for the trackback.php script, it sends the data to 
+# tmp/trackback.log
+#
+$config["trackback"] = Array(
+    "layout" => "%d %N - [%f:%l (%c:%F)] %m%n", 
+    "appender" => "null",
+	"file" => "tmp/trackback.log",
+    "prio" => "debug"
+  );
+?>


Property changes on: plog/branches/plog-1.0.1/release/logging.properties.php.dist
___________________________________________________________________
Name: svn:executable
   + *




More information about the pLog-svn mailing list