Skip to contentSkip to conversation

Complex logging in the kernel

DISCUSSION Bodo Eggert 1 participant 1 message Jan 25, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines · John Richard Moser

What systems exist for complex logging and security auditing in the kernel?

For example, let's say I wanted to register my specific code (i.e. a security module) to log, and adjust to log level N. I also want another module to log at log level L, which is lower than N. I want to print logs at log level N..+2 and below to the console, but silently log all log messages >N+2 to the syslog.

The priority level can be adjusted using the printk sysctl.

See Documentation/sysctl/kernel.txt for details.