Skip to content

Commit cfdc58f

Browse files
author
Till Brehm
committed
Merge branch 'stable-3.1' into 'stable-3.1'
changed loglevel to WARN when mailbackup fails See merge request !516
2 parents 75c3d47 + 832b6ba commit cfdc58f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/cron.d/500-backup_mail.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function onRunJob() {
169169
if ($rec['maildir_format'] == 'mdbox') {
170170
if(file_exists($rec['maildir'].'/backup')) exec("su -c 'rm -rf ".$rec['maildir']."/backup'");
171171
}
172-
$app->log($mail_backup_file.' NOK:'.implode('',$tmp_output), LOGLEVEL_DEBUG);
172+
$app->log($mail_backup_file.' NOK:'.implode('',$tmp_output), LOGLEVEL_WARN);
173173
}
174174
/* Remove old backups */
175175
$backup_copies = intval($rec['backup_copies']);

0 commit comments

Comments
 (0)