On Fri, Apr 17, 2009 at 11:26:40AM +0800, wang yi wrote: > Just wondering if it is possible to add custom log messages to the log file > so that I can have something like: > > Apr 15 01:30:00 [case1234] PIC for so-0/0/0 replaced, keep an keen eye on > it. > > when the duty engineer do a "show log messages | match case1234" knows when > and what FRU's have been replaced.
s...@sw0001> start shell % logger -t case12345 MY TEST MESSAGE % tail -1 /var/log/messages Apr 17 11:15:34.270 SW0001 case12345: MY TEST MESSAGE % _______________________________________________ juniper-nsp mailing list juniper-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/juniper-nsp