Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-07-07 14:58:38 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-07-07 14:58:38 +0400
commit58cce01e613ad7379563336d0b9baf88e48692f2 (patch)
tree91992e51505477c0bc92d55bc516df9bca75a1a8 /core/Log.php
parent6f2c8681ea071afa47e72df6bd2884fd0b4ce421 (diff)
remove all logs again and disable location settings to see if this causes it
Diffstat (limited to 'core/Log.php')
-rw-r--r--core/Log.php21
1 files changed, 0 insertions, 21 deletions
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);