supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* s6/s6-rc policy for Gentoo: The logging directory
@ 2024-07-05 23:45 Paul Sopka
  2024-07-06 10:06 ` Laurent Bercot
  2024-07-08 22:45 ` Peter Pentchev
  0 siblings, 2 replies; 11+ messages in thread
From: Paul Sopka @ 2024-07-05 23:45 UTC (permalink / raw)
  To: supervision


[-- Attachment #1.1.1: Type: text/plain, Size: 847 bytes --]

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


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3195 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-07-14 20:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-05 23:45 s6/s6-rc policy for Gentoo: The logging directory Paul Sopka
2024-07-06 10:06 ` Laurent Bercot
2024-07-06 13:28   ` Paul Sopka
     [not found]     ` <ZoqyuyVTk4fBYm3s@sparta>
2024-07-07 15:46       ` Paul Sopka
2024-07-08 22:45 ` Peter Pentchev
2024-07-09  0:03   ` Jan Braun
2024-07-09  8:24     ` Paul Sopka
2024-07-12 13:15       ` Carlos Eduardo
2024-07-13 10:04         ` Paul Sopka
2024-07-14 15:25           ` Jan Braun
2024-07-14 20:57             ` Paul Sopka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).