InternalMsgFacility

Sets the facility used for messages that imklog generates internally.

This parameter applies to imklog: Kernel Log Input Module.

Name:

InternalMsgFacility

Scope:

module

Type:

facility

Default:

Linux: “kern”; other platforms: “syslog”

Required?:

no

Introduced:

at least 5.x, possibly earlier

Description

This parameter sets the facility for messages that are generated internally by imklog. imklog generates some messages of itself (e.g. on problems, startup and shutdown) and these do not stem from the kernel. Historically, under Linux, these too have “kern” facility. Thus, on Linux platforms the default is “kern” while on others it is “syslog”. It is recommended to not change this setting unless you have a specific reason to do so.

The severity of these messages depends on the event, for example “err” for errors. They carry the rsyslogd tag, not the kernel: tag of kernel messages.

Note

Older releases ignored this setting and always used “kern” for imklog’s own messages, on all platforms. On platforms other than Linux, imklog’s own messages therefore now use “syslog” by default instead of “kern”.

Module usage

module(load="imklog" internalMsgFacility="kern")

Legacy names (for reference)

Historic names/directives for compatibility. Do not use in new configs.

  • $KLogInternalMsgFacility — maps to InternalMsgFacility (status: legacy)

See also

imklog: Kernel Log Input Module


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.