[pLog-svn] r1880 - in plog/trunk: class/object config
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Tue Apr 19 20:15:03 GMT 2005
Author: oscar
Date: 2005-04-19 20:15:02 +0000 (Tue, 19 Apr 2005)
New Revision: 1880
Modified:
plog/trunk/class/object/object.class.php
plog/trunk/config/logging.properties.php
Log:
let's enable logging again by default in the development version...
Modified: plog/trunk/class/object/object.class.php
===================================================================
--- plog/trunk/class/object/object.class.php 2005-04-19 20:12:01 UTC (rev 1879)
+++ plog/trunk/class/object/object.class.php 2005-04-19 20:15:02 UTC (rev 1880)
@@ -57,9 +57,7 @@
function Object()
{
// initialize logging -- enable this only for debugging purposes
- //$this->log =& LoggerManager::getLogger( "default" );
- if (is_object($this->log))
- $this->log->debug('Memory used: ' . memory_get_usage());
+ $this->log =& LoggerManager::getLogger( "default" );
}
function __getObjectId()
Modified: plog/trunk/config/logging.properties.php
===================================================================
--- plog/trunk/config/logging.properties.php 2005-04-19 20:12:01 UTC (rev 1879)
+++ plog/trunk/config/logging.properties.php 2005-04-19 20:15:02 UTC (rev 1880)
@@ -6,7 +6,7 @@
#
$config["default"] = Array(
"layout" => "%d %N - [%f:%l (%c:%F)] %m%n",
- "appender" => "null",
+ "appender" => "file",
"file" => "tmp/plog.log",
"prio" => "debug"
);
@@ -29,7 +29,7 @@
#
$config["trackback"] = Array(
"layout" => "%d %N - [%f:%l (%c:%F)] %m%n",
- "appender" => "null",
+ "appender" => "file",
"file" => "tmp/trackback.log",
"prio" => "debug"
);
More information about the pLog-svn
mailing list