diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-12-28 09:19:11 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-12-28 09:19:11 +0100 |
commit | f1334f0ca24bd6d4c12d423e95f4ea44bdba9e87 (patch) | |
tree | 1848860f6207fbe4e290ce2cdc493fabba7c8b62 /roundcubemail-pr313.patch | |
parent | ab222be1369cec0473be0a080c890910004d7cc3 (diff) |
roundcubemail: add .log suffix to log file names, and rotate them all
Diffstat (limited to 'roundcubemail-pr313.patch')
-rw-r--r-- | roundcubemail-pr313.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/roundcubemail-pr313.patch b/roundcubemail-pr313.patch new file mode 100644 index 0000000..d60e47b --- /dev/null +++ b/roundcubemail-pr313.patch @@ -0,0 +1,22 @@ +From e8e951098db781422f7ed557d97b1b218d7529de Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Mon, 28 Dec 2015 08:47:37 +0100 +Subject: [PATCH] add .log suffix to all log file names + +--- + program/lib/Roundcube/rcube.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/program/lib/Roundcube/rcube.php b/program/lib/Roundcube/rcube.php +index 7388472..c2fc70f 100644 +--- a/program/lib/Roundcube/rcube.php ++++ b/program/lib/Roundcube/rcube.php +@@ -1184,7 +1184,7 @@ public static function write_log($name, $line) + } + + // try to open specific log file for writing +- $logfile = $log_dir.'/'.$name; ++ $logfile = $log_dir.'/'.$name.'.log'; + + if ($fp = @fopen($logfile, 'a')) { + fwrite($fp, $line); |