aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Log.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-30 12:39:21 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-30 12:39:21 +0100
commit3cc073f2d1dd4a5fef5d66e6f30c4496bf2e6421 (patch)
treef31485c80374aff2efcb58a3013b577c27713a24 /lib/Minz/Log.php
parent92efd68a3a13e49fe7bbfb8441611c0dcd639415 (diff)
Log compatible multi-utilisateur
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/126. Il faudra restaurer la gestion du cache HTTP pour les logs
Diffstat (limited to 'lib/Minz/Log.php')
-rw-r--r--lib/Minz/Log.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Minz/Log.php b/lib/Minz/Log.php
index 848267065..968301c81 100644
--- a/lib/Minz/Log.php
+++ b/lib/Minz/Log.php
@@ -36,8 +36,8 @@ class Minz_Log {
if (! ($env === Minz_Configuration::SILENT
|| ($env === Minz_Configuration::PRODUCTION
&& ($level >= Minz_Log::NOTICE)))) {
- if (is_null ($file_name)) {
- $file_name = LOG_PATH . '/application.log';
+ if ($file_name === null) {
+ $file_name = LOG_PATH . '/' . Minz_Configuration::currentUser() . '.log';
}
switch ($level) {