Browse Source

error.log moved into the log directory

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2437 a333f486-631f-4898-b8df-5754b55c2be0
romainq 12 years ago
parent
commit
539dad1d87
2 changed files with 3 additions and 3 deletions
  1. 1 1
      application/utils.inc.php
  2. 2 2
      core/metamodel.class.php

+ 1 - 1
application/utils.inc.php

@@ -613,7 +613,7 @@ class utils
 		$bCASDebug = self::GetConfig()->Get('cas_debug');
 		$bCASDebug = self::GetConfig()->Get('cas_debug');
 		if ($bCASDebug)
 		if ($bCASDebug)
 		{
 		{
-			phpCAS::setDebug(APPROOT.'/error.log');
+			phpCAS::setDebug(APPROOT.'log/error.log');
 		}
 		}
 		
 		
 		if (!self::$m_bCASClient)
 		if (!self::$m_bCASClient)

+ 2 - 2
core/metamodel.class.php

@@ -4407,12 +4407,12 @@ abstract class MetaModel
 			if (self::$m_oConfig->GetLogIssue())
 			if (self::$m_oConfig->GetLogIssue())
 			{
 			{
 				self::$m_bLogIssue = true;
 				self::$m_bLogIssue = true;
-				IssueLog::Enable(APPROOT.'/error.log');
+				IssueLog::Enable(APPROOT.'log/error.log');
 			}
 			}
 			self::$m_bLogNotification = self::$m_oConfig->GetLogNotification();
 			self::$m_bLogNotification = self::$m_oConfig->GetLogNotification();
 			self::$m_bLogWebService = self::$m_oConfig->GetLogWebService();
 			self::$m_bLogWebService = self::$m_oConfig->GetLogWebService();
 
 
-			ToolsLog::Enable(APPROOT.'/tools.log');
+			ToolsLog::Enable(APPROOT.'log/tools.log');
 		}
 		}
 		else
 		else
 		{
 		{