[icinga-checkins] icinga.org: icinga-api/r1.5: fix logfile location and name

git at icinga.org git at icinga.org
Fri Jul 15 21:05:02 CEST 2011


Module: icinga-api
Branch: r1.5
Commit: b40a6468d274d36572b5060c88d79e89f66429a8
URL:    https://git.icinga.org/?p=icinga-api.git;a=commit;h=b40a6468d274d36572b5060c88d79e89f66429a8

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Fri Jul 15 21:04:42 2011 +0200

fix logfile location and name

---

 .../debugTargets/icingaApiFileDebugger.php.in      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/objects/debug/debugTargets/icingaApiFileDebugger.php.in b/objects/debug/debugTargets/icingaApiFileDebugger.php.in
index 76ff18c..f843078 100644
--- a/objects/debug/debugTargets/icingaApiFileDebugger.php.in
+++ b/objects/debug/debugTargets/icingaApiFileDebugger.php.in
@@ -4,7 +4,7 @@
  * @author Jannis Mosshammer <jannis.mosshammer at netways.de>
  *
  */
-define("DEFAULT_API_LOG_FILE",dirname(__FILE__)."@PHPAPILOGDIR@");
+define("DEFAULT_API_LOG_FILE","@PHPAPILOGDIR@/icingaApi.log");
 class icingaApiFileDebugger implements icingaApiDebuggerTargetInterface {
 	
 	public $breakStyle = "\n";





More information about the icinga-checkins mailing list