logrotate/logrotate-3.7.8-mess_err.patch

14 lines
486 B
Diff

Index: logrotate.c
===================================================================
--- logrotate.c.orig 2009-03-06 15:20:25.000000000 +0100
+++ logrotate.c 2009-03-06 15:24:07.000000000 +0100
@@ -997,7 +997,7 @@
}
snprintf(destFile, PATH_MAX, "%s%s", rotNames->finalName, compext);
if (!stat(destFile, &fst_buf)) {
- message(MESS_DEBUG,
+ message(MESS_ERROR,
"destination %s already exists, skipping rotation\n",
rotNames->firstRotated);
hasErrors = 1;