[j-nsp] Disabling logging for chassisd

Robin Williams robin.williams at tnp.net.uk
Sat Nov 29 09:40:59 EST 2014


Hi James,

Don't know if this will work given you said modifying [system syslog] 
didn't work, but you *should* be able to stop it writing certain events 
to log with something like the 'match' line below (changing 'messages' 
for 'chassisd' of course).

! (not) obviously meaning don't match/log and .* meaning anything before 
or in front of the specified text.  The | being 'or', so you can put 
multiple statements in.

# show system syslog
file messages {
     any notice;
     authorization info;
     match "!(.*unconfigured 
neighbor.*|.*pfe_get_ifl_stats.*|.*mld6_input: src.*)";
}

Cheers,
Robin.




On 29/11/14 08:06, James wrote:
> Hello,
>
> Is it possible to disable 'chassisd' from keep writing to /var/log/chassisd?  Using [ system syslog ] configuration to redirect to a syslog server or limit verbosity doesn't seem to have any effect.
>
> I've got an EX4300 running buggy 13.2X50 version which falsely complains about over-temperature and missing PSUs on a perfectly working device.  Unfortunately, it's going to take me a while longer before I could take down the switch to upgrade JUNOS for a fix..  In the meanwhile, /var/log/chassisd keeps getting written every 3-5 seconds with junk messages, is there a way to temporarily turn that off?
>
> Thank you,
> James
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list