diff --git a/gulliver/system/class.logger.php b/gulliver/system/class.logger.php
index 46cd0c43a..2e504b1dc 100644
--- a/gulliver/system/class.logger.php
+++ b/gulliver/system/class.logger.php
@@ -103,6 +103,7 @@ class Logger
{
$this->renameFile();
$file = fopen($this->filePath, "a+");
+ $message = date('Y-m-d H:i:s') . $message;
fwrite($file, $message);
fclose($file);
}
diff --git a/workflow/engine/bin/cron_single.php b/workflow/engine/bin/cron_single.php
index 6bf7f19b1..af9e7b2f6 100755
--- a/workflow/engine/bin/cron_single.php
+++ b/workflow/engine/bin/cron_single.php
@@ -912,7 +912,7 @@ function saveLog($sSource, $sType, $sDescription)
}
G::verifyPath(PATH_DATA . "log" . PATH_SEP, true);
- G::log(date("Y-m-d H:i:s") . " | $sObject | " . $sSource . " | $sType | " . $sDescription . "\n", PATH_DATA);
+ G::log(" | $sObject | " . $sSource . " | $sType | " . $sDescription . "\n", PATH_DATA);
} catch (Exception $e) {
//CONTINUE
}
diff --git a/workflow/engine/bin/reindex_solr.php b/workflow/engine/bin/reindex_solr.php
index 3c8e2e596..d45dbee72 100644
--- a/workflow/engine/bin/reindex_solr.php
+++ b/workflow/engine/bin/reindex_solr.php
@@ -338,7 +338,7 @@ function saveLog($sSource, $sType, $sDescription)
print date ('H:i:s') . " ($sSource) $sType $sDescription
\n";
G::verifyPath (PATH_DATA . 'log' . PATH_SEP, true);
- $message = date ('Y-m-d H:i:s') . '(' . $sSource . ') ' . $sDescription . "\n";
+ $message = '(' . $sSource . ') ' . $sDescription . "\n";
if ($sType == 'action') {
G::log($message, PATH_DATA);
}
diff --git a/workflow/engine/bin/verify_solr.php b/workflow/engine/bin/verify_solr.php
index 4a318d8d0..b56a788de 100644
--- a/workflow/engine/bin/verify_solr.php
+++ b/workflow/engine/bin/verify_solr.php
@@ -517,7 +517,7 @@ function saveLog($sSource, $sType, $sDescription)
print date ('H:i:s') . " ($sSource) $sType $sDescription
\n";
G::verifyPath (PATH_DATA . 'log' . PATH_SEP, true);
- $message = date ('Y-m-d H:i:s') . '(' . $sSource . ') ' . $sDescription . "\n";
+ $message = '(' . $sSource . ') ' . $sDescription . "\n";
if ($sType == 'action') {
G::log($message, PATH_DATA);
}
diff --git a/workflow/engine/methods/login/authentication.php b/workflow/engine/methods/login/authentication.php
index 0e63d20bb..363f99830 100755
--- a/workflow/engine/methods/login/authentication.php
+++ b/workflow/engine/methods/login/authentication.php
@@ -54,7 +54,7 @@ try {
if (isset($_SESSION['__AUTH_ERROR__'])) {
G::SendMessageText($_SESSION['__AUTH_ERROR__'], "warning");
unset($_SESSION['__AUTH_ERROR__']);
- }
+ }
break;
//The user is inactive
case -3:
@@ -139,7 +139,7 @@ try {
$browser = $_SERVER['HTTP_USER_AGENT'];
$path = PATH_DATA;
- $message = date('Y-m-d H:i:s'). " | Many failed authentication attempts for USER: " . $usr . " | IP: " . $ip . " | WS: " . SYS_SYS . " | Browser: " .$browser ." \n" ;
+ $message = " | Many failed authentication attempts for USER: " . $usr . " | IP: " . $ip . " | WS: " . SYS_SYS . " | BROWSER: " .$browser ." \n" ;
$file = "loginFailed.log";
G::log($message, $path, $file);