[j-nsp] Show me all the system syslog things!
Emille Blanc
emille at abccommunications.com
Thu Mar 21 16:58:58 EDT 2019
> I would avoid changing "messages" since JTAC usually relies on the standard stuff being there (and often increasing the logging to daemon any; kernel any;)
Despite our messages configuration, I second this sentiment. You're better to play it safe unless you have reason to otherwise.
We rarely maintain support contracts on our equipment after a probationary period, so it is less of a concern in our case. Your mileage may vary...
-----Original Message-----
From: juniper-nsp [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Anderson, Charles R
Sent: Thursday, March 21, 2019 1:47 PM
To: juniper-nsp at puck.nether.net
Subject: Re: [j-nsp] Show me all the system syslog things!
I would avoid changing "messages" since JTAC usually relies on the standard stuff being there (and often increasing the logging to daemon any; kernel any;). Instead, create a se
parate log file for your own cut-down logging.
On Thu, Mar 21, 2019 at 03:09:30PM -0400, Jason Lixfeld wrote:
> Hi,
>
> I’m looking for some ideas about configuring syslog.
>
> Starting from the bare-minumum syslog config, and log-updown in BGP:
>
> jlixfeld at lab# show system syslog
> user * {
> any emergency;
> }
> host 10.219.51.130 {
> any info;
> }
> file messages {
> any info;
> }
> time-format year millisecond;
>
> The messages file produces a great set of useful logs for day-to-day operations and monitoring: up/down for LDP, LLDP, ISIS, BFD, interface, BGP and also executed CLI commands (mgd UI_CMDLINE_READ_LINE). It’s great.
>
> However, an enormous amount of logs from mgd (UI_*), chassisd, and a bunch of other processes are also caught in this messages file, and while it’s definitely useful to capture, it doesn’t need to be in the same file as the day-to-day stuff. I’m sure others have constructed some useful syslog configs for separating these day-to-day messages into one file, and other stuff into other file(s). I’m interested in seeing other people’s work for some inspiration on how I can construct a useful set of files myself.
>
> Anyone care to share?
>
> Thanks in advance!
_______________________________________________
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