Been there, done that [dataskq logging]

Strator

Verified User
Joined
Jan 19, 2011
Messages
274
Is there a way to keep dataskq from spamming the messages file with pointless "information"? About 80% of my messages log are filled with status updates like:

dataskq[23776]: executing task task=action=ssl&value=admin_ssl
dataskq[23776]: finished task duration=138.980804ms task=action=ssl&value=admin_ssl

...which is the logging equivalent of a toddler discovering facebook. Getting >20.000 of these started something, finished something lines per week also keeps you from seeing the stuff that's actually interesting. Thanks!
 
Hello,

not too sure whether is there a setting in directadmin, but one can try and configure rsyslog to exclude those messages.
 
Got it. In case somebody else needs this, I edited /etc/rsyslog.conf and added the following two lines directly after #### RULES ####

Code:
:msg, contains, "task=action=ssl&value=admin_ssl"       /var/log/dataskq.log
:msg, contains, "task=action=ssl&value=admin_ssl"       stop
First line is only needed if you want to log those lines elsewhere before getting rid of them (which is what the second line does).

Run systemctl restart rsyslog.service afterwards.
 
Back
Top