Logging goes to /dev/console??

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Logging goes to /dev/console??

Postby hytron » Tue May 21, 2002 5:27 pm

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.
hytron
 
Posts: 7
Joined: Mon May 20, 2002 2:20 pm

Re: Logging goes to /dev/console??

Postby Technion » Thu May 23, 2002 7:26 am

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.
Technion
 
Posts: 15
Joined: Thu Apr 25, 2002 12:23 am


Return to grsecurity support

cron