I noticed a difference between the versions in fedora 30 and 33 - it used to be 7bit and is now 8bit. This causes the mail to be quoted printable for which reason I'd prefer 7bit. For now I've just changed 8bit to 7bit in /usr/share/logwatch/scripts/logwatch.pl Could this be controlled by configuration ?
standard date formats for logging
url decode pathname in get method
BTW Break 3 [28]> (directory "/xxx/" :if-does-not-exist :keep :full t) (#P"/xxx/yyy") Break 3 [28]> (directory "/xxx//" :if-does-not-exist :keep :full t) (#P"/xxx/yyy") Break 3 [28]> so it counts as both directory and file if it doesn't exist. And I now see that I can find my non-existing links from set-difference of keep and ignore. (also, btw, I have a hard time with this web interface cause it implements its own html editor in js. is there some way I can turn that off?)
ok, here's a test case: mkdir /xxx ln -s /yyy /xxx (neither of these existed before) (directory "/xxx//" :if-does-not-exist :ignore) NIL Break 2 [27]> (directory "/xxx//" :if-does-not-exist :discard) [../src/pathname.d:7224] * - OS-FILE-ERROR(ENOENT): No such file or directory The following restarts are available: ABORT :R1 Abort debug loop ABORT :R2 Abort debug loop ABORT :R3 Abort main loop Break 3 [28]> (directory "/xxx/" :if-does-not-exist :discard) NIL Break 3 [28]> (directory "/xxx/" :if-does-not-exist...
Hmm. :if-does-not-exist :discard, which is supposed to be the default fails, whereas :keep works! So does :ignore. I don't understand the doc for ignore and discard - if discard is supposed to signal an error then what does it mean to discard the bad entries? If it signals then perhaps it shouldn't be the default. Or at least the error should be continuable. I also think it would useful to tell me what entry is the problem!
It was not even clear to me that this was related to some particular entry in /etc. But with this hint I find the problem is a symbolic link that points to a file that does not exist. You think that the error is justified in this case? I don't. For instance, when I do directory of a directory that doesn't exist I get nil. However, this does lead to some interesting questions. If you just do directory with no full perhaps the links to non-existent files should be excluded on grounds that they have...
(directory "/etc/*/") - OS-FILE-ERROR(ENOENT)