Introduction
Depending on your service provider for your server, you may have access to the console, which can be used to connect directly to the server when services such as SSH are unresponsive. The console is meant to be used for debugging purposes as such, log entries that are logged to the kernel logs are often printed to STDOUT
.
This can be confusing or frustrating if the messages populate quite frequently when working in the console.
These are messages that the Linux kernel function printk()
uses to log kernel messages. By default, the standard configuration will print kernel messages to console.
Procedure
If you wish to disable this feature, you may simply toggle it off using the dmesg
command.
dmesg -D
To restore this functionality simply use this:
dmesg -E
To read more about this review the following 3rd-party resource.