You can use write filters to keep certain events out of the log. By default all entries are included. Use the log command followed by -i to include or -x to exclude. Additional filtering options are -e, -f, -s for entity, filter, and slot. Example:
log -i -ft -s2 -eOSPF (Includes only trace events for OSPF running on slot 2; that is ALL other events will be excluded.)
log -x -fdfitw -eIP (Excludes all IP events, on all slots.)
The command with no options means: log -i (include nothing), log -x (exclude nothing; this is the default).
To display active write filters in effect on a router, use:
log -z (for all slots) or log -z -s<slot> (for a specified slot)
NOTE: The display can be misleading, especially when using the include option. The filter options displayed with a letter such as FWITD are excluded. The options displayed by a dot are included in the log. For example:
[2:TN]$ log -i -eIPSEC -ffwi
[2:TN]$ log -z
Slot 4 log event filters:
IPSEC=T...D
Slot 1 log event filters:
IPSEC=T...D
Slot 2 log event filters:
IPSEC=T...D
Trace and debug for IPSEC are excluded, while fault warning and info are included.
What I can't remember is whether you can save the command to your PCMCIA card to make it permanent. You'll have to test that.
Good luck...