]> git.proxmox.com Git - proxmox-backup.git/commitdiff
proxy: fix log message for auth log rotation
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Nov 2020 15:34:03 +0000 (16:34 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 9 Nov 2020 15:34:03 +0000 (16:34 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/bin/proxmox-backup-proxy.rs

index 0eca450d04efcb173b26eda05b1c7db54fdc0543..04c976b537ac9b49303a55436aab5fc17cfa0cf7 100644 (file)
@@ -592,9 +592,9 @@ async fn schedule_task_log_rotate() {
                         .ok_or_else(|| format_err!("could not get API auth log file names"))?;
 
                 if logrotate.rotate(max_size, None, Some(max_files))? {
-                    worker.log(format!("API access log was rotated"));
+                    worker.log(format!("API authentication log was rotated"));
                 } else {
-                    worker.log(format!("API access log was not rotated"));
+                    worker.log(format!("API authentication log was not rotated"));
                 }
 
                 Ok(())