diff --git a/application/utils.inc.php b/application/utils.inc.php index 05c91f489..d1dcd9d3b 100644 --- a/application/utils.inc.php +++ b/application/utils.inc.php @@ -613,7 +613,7 @@ class utils $bCASDebug = self::GetConfig()->Get('cas_debug'); if ($bCASDebug) { - phpCAS::setDebug(APPROOT.'/error.log'); + phpCAS::setDebug(APPROOT.'log/error.log'); } if (!self::$m_bCASClient) diff --git a/core/metamodel.class.php b/core/metamodel.class.php index aafcd9016..7e11a8b8d 100644 --- a/core/metamodel.class.php +++ b/core/metamodel.class.php @@ -4407,12 +4407,12 @@ abstract class MetaModel if (self::$m_oConfig->GetLogIssue()) { self::$m_bLogIssue = true; - IssueLog::Enable(APPROOT.'/error.log'); + IssueLog::Enable(APPROOT.'log/error.log'); } self::$m_bLogNotification = self::$m_oConfig->GetLogNotification(); self::$m_bLogWebService = self::$m_oConfig->GetLogWebService(); - ToolsLog::Enable(APPROOT.'/tools.log'); + ToolsLog::Enable(APPROOT.'log/tools.log'); } else {