From 58cce01e613ad7379563336d0b9baf88e48692f2 Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Mon, 7 Jul 2014 12:58:38 +0200 Subject: remove all logs again and disable location settings to see if this causes it --- core/Log.php | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'core/Log.php') diff --git a/core/Log.php b/core/Log.php index 7d9e501ddf..5dc22d37c2 100644 --- a/core/Log.php +++ b/core/Log.php @@ -379,27 +379,6 @@ class Log extends Singleton return $this->currentLogLevel; } - public function customLogToFileForDebuggingIfYouStillSeeThisHereRemoveIt($message, $addTrace = true) - { - if ($addTrace) { - $message = $message . "\n"; - $backTrace = debug_backtrace(); - $backTrace = array_slice($backTrace, 1, 2); - - foreach ($backTrace as &$trace) { - if (!empty($trace['object'])) { - unset($trace['object']); - } - } - $message .= var_export($backTrace, 1); - } - - if(!file_put_contents($this->logToFilePath, $message . "\n", FILE_APPEND)) { - $message = Filechecks::getErrorMessageMissingPermissions($this->logToFilePath); - throw new \Exception( $message ); - } - } - private function logToFile($level, $tag, $datetime, $message) { $message = $this->getMessageFormattedFile($level, $tag, $datetime, $message); -- cgit v1.2.3