I am in the process of packaging an “unfree” application (JQuake) which has some hardcoded logging policies that involve a lot of console output and the creation of an errors.log
file in the CWD.
I guess that I could redirect console output to the system logger at a low priority level, but what about the file? I saw other applications writing their logs in a directory under /tmp
, is it the most sensible way to handle such cases? And are there any specific guidelines related to logging on NixOS?
1 Like