You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Syslog server to receive logs from machines during installation (#27)
Add the ability from `netbootd` to run a Syslog server on the TCP/UDP
port specified by the new `-s`/`--syslog-port` flags (defaults to
514). A new `{{ .SyslogHost }}` value is available in mount content
templates which contains the `<host>:<port>` to send syslog messages.
This can be used, for example, to construct an
`inst.syslog=<host>:<port>` kernel argument for RHEL 9 which instructs
the installer to send syslogs to the given syslog server. This can
make it much easier to see what is happening during an installation,
and make debugging easier in case something goes wrong.
Syslog messages received by `netbootd`'s syslog server are logged at
`INFO` level. All syslog attributes are added to the `INFO` log
emitted by `netbootd` prepended with `syslog.`. Thus a syslog message
with attribute `foo=bar` is emitted by `netbootd` as `syslog.foo=bar`.
The exception is `content` or `message` attributes which are used as
the value for `.Msg()`.
0 commit comments