Re: Complex logging in the kernel

From: Bodo Eggert
Date: Tue Jan 25 2005 - 16:07:16 EST


John Richard Moser <nigelenki@xxxxxxxxxxx> wrote:

> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/