supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* Logging in a system with runit.
@ 2024-11-03 13:43 peter
  0 siblings, 0 replies; 2+ messages in thread
From: peter @ 2024-11-03 13:43 UTC (permalink / raw)
  To: supervision; +Cc: peter

Searched before composing these questions.

Working in Void I want to see a log to understand why a daemon isn't 
working.  Therefore according to 
https://docs.voidlinux.org/config/services/logging.html 
installed socklog-void and enabled socklog-unix and nanoklogd. 
"Enabled" within the limits of my understanding.

Susequently found 
https://smarden.org/runit/dependencies stating "write all logs through 
runit's logging facility. ... Therefore there's no need to depend on a 
system logging service."  nanoklogd and svlogtail aren't needed to 
monitor a daemon?

Clarification welcome, thanks,         ... Peter E.

-- 
VoIP:   +1 604 670 0140
work: https://en.wikibooks.org/wiki/User:PeterEasthope


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

* Re: Logging in a system with runit.
       [not found] <67278c16.5d0a0220.2b41f7.b484SMTPIN_ADDED_MISSING@mx.google.com>
@ 2024-11-03 16:26 ` Leah Neukirchen
  0 siblings, 0 replies; 2+ messages in thread
From: Leah Neukirchen @ 2024-11-03 16:26 UTC (permalink / raw)
  To: peter; +Cc: supervision

peter@easthope.ca writes:

> Searched before composing these questions.
>
> Working in Void I want to see a log to understand why a daemon isn't 
> working.  Therefore according to 
> https://docs.voidlinux.org/config/services/logging.html 
> installed socklog-void and enabled socklog-unix and nanoklogd. 
> "Enabled" within the limits of my understanding.
>
> Susequently found 
> https://smarden.org/runit/dependencies stating "write all logs through 
> runit's logging facility. ... Therefore there's no need to depend on a 
> system logging service."  nanoklogd and svlogtail aren't needed to 
> monitor a daemon?

Yes, if each service of your supervision tree has a $service/log
service, you don't need anything global else.

Void Linux goes a different way and uses a global syslog (socklog-unix
or rsyslog) to provide classical unified log files and to support
legacy apps using syslog(3).  In this setup, $service/log is used to
push the logs into local syslog.

hth,
-- 
Leah Neukirchen  <leah@vuxu.org>  https://leahneukirchen.org/

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

end of thread, other threads:[~2024-11-03 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-03 13:43 Logging in a system with runit peter
     [not found] <67278c16.5d0a0220.2b41f7.b484SMTPIN_ADDED_MISSING@mx.google.com>
2024-11-03 16:26 ` Leah Neukirchen

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).