# PermitNonKernelFacility

Controls whether imklog submits kernel log messages that use non-kernel facilities.

This parameter applies to imklog: Kernel Log Input Module.

Name:

  PermitNonKernelFacility

Scope:

  module

Type:

  boolean

Default:

  off

Required?:

  no

Introduced:

  at least 5.x, possibly earlier

## Description

At least under BSD the kernel log may contain entries with non-kernel facilities. This setting controls how those are handled. The default is “off”, in which case these messages are ignored. Switch it to on to submit non-kernel messages to rsyslog processing.

## Notes

- Legacy documentation referred to the type as “binary”; it behaves as a boolean value.

## Module usage

    module(load="imklog" permitNonKernelFacility="on")

### Legacy names (for reference)

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

- $KLogPermitNonKernelFacility — maps to PermitNonKernelFacility (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–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.