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: “syslogd”
- 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 “syslogd”. It is recommended to not change this setting unless you have a specific reason to do so.
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.