logrotate/logrotate-3.7.7-mess_err.patch

12 lines
497 B
Diff

--- ./logrotate.c.orig 2008-09-03 10:32:34.000000000 +0200
+++ ./logrotate.c 2008-09-03 10:32:55.000000000 +0200
@@ -930,7 +930,7 @@ int prerotateSingleLog(struct logInfo *l
rotNames->dirName, rotNames->baseName, dext_str, fileext);
sprintf(destFile, "%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;