How to turn off logging printing out to console?
search cancel

How to turn off logging printing out to console?

book

Article ID: 333783

calendar_today

Updated On:

Products

VMware

Issue/Introduction

There are cases that Sensor/Engine/Manager/Data Node might keep printing out logging messages to console, which makes management task more difficult. 

For example, if Engine has some network problem and cannot reach to Manager. There will be a lot of logging showing up in console printing something similar to below:

Mar 17 01:53:14 lastline-engine kernel: [40755.451905] init: llama-worker (worker-001-41) main process ended, respawning

Manager and Sensor will also print out UFW log messages to console in case there is a violation of UFW rule. Those log messages will make console management task difficult. 

To avoid seeing those messages in the console, run below command to turn it off:

dmesg -n 1

To fix that at each boot, add the above command to "/etc/rc.local".