Diasbling DSLOG from syslog and journalctl

Hi,

We want to disable DSLOG from our deployment.
To limit the DS log generated in syslog ran the setup_nvds_logger.sh and set the log level to 2 (Critical) and now syslog is not flooded.

But we can still see the journalctl is flooded with DSLOG like below

================================================================================
Feb 21 10:14:50 nvidiatx2 DSLOG[8235]: NVDS_AMQP_PROTO: nvds_msgapi_send_async: using msg topic …
Feb 21 10:14:50 nvidiatx2 DSLOG[8235]: NVDS_AMQP_PROTO: nvds_msgapi_send_async: Send success
Feb 21 10:14:50 nvidiatx2 DSLOG[8235]: NVDS_AMQP_PROTO: nvds_msgapi_do_work: Message sent = {

Because of which other diagnostic logs are getting suppressed !

If we can disable/limit DSLOG from Deepstream SDK shared libraries, that would be great.
Please help us with this issue.

Regards
Pallab Sarkar

You can use priority option with journalctl.
e.g. journalctl -p 3

You can also disable the logging of syslog messages to journal by setting MaxLevelSyslog field in /etc/systemd/journald.conf

When I use -p 3 I still get the ‘Message sent = {…}’ messages logged. When I set -p 2, there are no logs for anything.

Is there another way to suppress these messages in journalctl?

Would it be possible to get a copy of the amqp protocol adapter source code?

1 Like

Hi mattcarp88,

Please help to open a new topic for your issue. Thanks