rottlog ignores the subdir structure

  • Open
  • quality assurance status badge
Details
One participant
  • Attila Lendvai
Owner
unassigned
Submitted by
Attila Lendvai
Severity
normal
A
A
Attila Lendvai wrote on 26 Jul 2022 13:02
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
CrGi1kFAVkCxWbWygN_vVt44ZD0gPIC0XLHO8cwF534_aS1favgM7ZjFhap5rCorovMsvcEfT7SgtKUirpTDggGddD9KknTdNS9DJoLM0dE=@lendvai.name
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
?