Hello Blackmetal.
In order to denied for some specific log messages to be logged to the switch you can do it with this simple guide.
https://kb.juniper.net/InfoCenter/index?page=content&id=KB22177&actp=METADATA
Hope this helps.
Please mark "Accept as solution" if this answers your query. Kudos are appreciated too!
Regards,
Aaron Vindas