Subject: bug#56780: rottlog ignores the subdir structure

From: Attila Lendvai <[email-masked]>
Date: Tue, 26 Jul 2022 11:02:58 +0000

my service puts its log files into subdirs under /var/log/myservice/some-config/logfile.

i set up some rottlog-service-type and rottlog-configuration to rotate these log files, and to my surprise rottlog puts them under /var/log (ignoring the subdir structure).

is this a feature or a bug? if the former, could we change the default to put the rotated files into the same directory as the files being rotated?

--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“A political situation is the manifestation of a parallel psychological problem in millions of individuals. This problem is largely unconscious (which makes it a particularly dangerous one!)”
	— Carl Jung (1875–1961), Letters, vol.1 pg. 535