[Jifty-commit] r5954 - in jifty/trunk: lib/Jifty/Server/Fork lib/Jifty/Server/Prefork
Jifty commits
jifty-commit at lists.jifty.org
Mon Oct 20 15:40:00 EDT 2008
Author: alexmv
Date: Mon Oct 20 15:39:59 2008
New Revision: 5954
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Server/Fork/NetServer.pm
jifty/trunk/lib/Jifty/Server/Prefork/NetServer.pm
Log:
r38330 at kohr-ah: chmrr | 2008-10-20 15:39:48 -0400
* Adjust caller depth so messages appear to come from the right place
Modified: jifty/trunk/lib/Jifty/Server/Fork/NetServer.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Server/Fork/NetServer.pm (original)
+++ jifty/trunk/lib/Jifty/Server/Fork/NetServer.pm Mon Oct 20 15:39:59 2008
@@ -38,7 +38,9 @@
$Log::Log4perl::TRACE,
$Log::Log4perl::TRACE,
);
+ $Log::Log4perl::caller_depth++;
Log::Log4perl->get_logger(ref $self)->log($levels[$level],$msg);
+ $Log::Log4perl::caller_depth--;
}
1;
Modified: jifty/trunk/lib/Jifty/Server/Prefork/NetServer.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Server/Prefork/NetServer.pm (original)
+++ jifty/trunk/lib/Jifty/Server/Prefork/NetServer.pm Mon Oct 20 15:39:59 2008
@@ -37,7 +37,9 @@
$Log::Log4perl::TRACE,
$Log::Log4perl::TRACE,
);
+ $Log::Log4perl::caller_depth++;
Log::Log4perl->get_logger(ref $self)->log($levels[$level],$msg);
+ $Log::Log4perl::caller_depth--;
}
1;
More information about the Jifty-commit
mailing list