When warning that a log file can't be compressed, tell the reader which
log file it was.
This commit is contained in:
parent
ff4055bf24
commit
6b9a6e1f20
@ -623,7 +623,7 @@ dotrim(char *log, char *pid_file, int numdays, int flags, int perm,
|
||||
}
|
||||
if ((flags & CE_COMPACT)) {
|
||||
if (need_notification && !notified)
|
||||
warnx("log not compressed because daemon not notified");
|
||||
warnx("log %s not compressed because daemon not notified", log);
|
||||
else if (noaction)
|
||||
printf("Compress %s.0\n", log);
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user