Removing "NOTICE ... Type 'system' is not reloadable"

Hello,

When reloading PJSIP on Asterisk 20.4, I’ve got the following lines:
– Reloading module ‘res_pjsip.so’ (Basic SIP resource)
[Sep 13 11:52:38] NOTICE[6923]: sorcery.c:1348 sorcery_object_load: Type ‘system’ is not reloadable, maintaining previous values
– Reloading module ‘res_pjsip_authenticator_digest.so’ (PJSIP authentication resource)

It doesn’t hurt but as I’m trying to remove from log files, any ERROR, WARNING or maybe NOTICE that doesn’t echo a real issue and this one seems, to match, is it possible to remove this NOTICE ?

Best regards

You can look at the settings in logger.conf, they should allow you to set the level of logging required. But doing that would remove ALL notices.

But the reminder of the system section not being reloaded, would be pretty useful in cases where changes are not applied, and you forget this is the case. (No, you will not forever remember this, unless you have super human memory. :wink: )

Asterisk is open source, so simply delete the message and recompile. You don’t need any real understanding of C to simply remove a message.