The last "thread" I open for this night. I promise.
I currently have set up logging in the following way:
System supervision tree logs to to /var/log/${daemon}
User supervision tree logs got to /var/log/${USER}/${daemon}
Currently, the logging dir is hardcoded in all s6-log daemons. I want to
change that.
Concerning the user tree loggers, this is easy, the system service
starting the user tree just sets an environment variable all user tree
s6-log daemons can use.
Concerning the system tree loggers, my first idea is to set an
environment variable somewhere in the scripts s6-linux-init provides.
Is this even possible?
What would be the best place to do this?
Is there a better alternative?
Generally, I would be interested hear what you think about my choice of
logging directories.
Paul
Received on Sat Jul 06 2024 - 01:45:42 CEST