Commit 832b6ba4 authored by Florian Schaal's avatar Florian Schaal
Browse files

changed loglevel to WARN when mailbackup fails

parent 75c3d472
...@@ -169,7 +169,7 @@ class cronjob_backup_mail extends cronjob { ...@@ -169,7 +169,7 @@ class cronjob_backup_mail extends cronjob {
if ($rec['maildir_format'] == 'mdbox') { if ($rec['maildir_format'] == 'mdbox') {
if(file_exists($rec['maildir'].'/backup')) exec("su -c 'rm -rf ".$rec['maildir']."/backup'"); if(file_exists($rec['maildir'].'/backup')) exec("su -c 'rm -rf ".$rec['maildir']."/backup'");
} }
$app->log($mail_backup_file.' NOK:'.implode('',$tmp_output), LOGLEVEL_DEBUG); $app->log($mail_backup_file.' NOK:'.implode('',$tmp_output), LOGLEVEL_WARN);
} }
/* Remove old backups */ /* Remove old backups */
$backup_copies = intval($rec['backup_copies']); $backup_copies = intval($rec['backup_copies']);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment