Page 1 of 1

Logging goes to /dev/console??

PostPosted: Tue May 21, 2002 5:27 pm
by hytron
Hi,

Is there a way to disable logging that goes to console? Everything grsecurity sends goes to my console. If there is a way to disable grsecurity output to the main console, and let it just log to regular file in /var/log/, please let me know.

Re: Logging goes to /dev/console??

PostPosted: Thu May 23, 2002 7:26 am
by Technion
hytron wrote:Hi,

Is there a way to disable logging that goes to console? Everything
.



This is probably related to your syslog settings and is not likely grsecurity related.
Firstly, check /etc/syslog.conf and ensure there is no uncommented reference to /dev/console.

Then check the flags klogd is started with. Exactly how to do this is distribution specific. If for example, it is given -c 2 as a flag, it will log everything with a priority 2 and lower. This is probably as low as you want to do.