From: Hobbs (deadheadblues@gmail.com)
Date: Thu Nov 27 2008 - 18:31:46 ARST
fyi, to view the log file to make sure its working you can do this in exec
mode:
more <filename>
SW2#more log.txt
00:58:51: %SYS-5-CONFIG_I: Configured from console by console
00:59:07: %LINK-5-CHANGED: Interface FastEthernet0/2, changed state to
administratively down
00:59:08: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2,
changed state to down
00:59:12: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to down
00:59:12: %SYS-5-CONFIG_I: Configured from console by console
00:59:14: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to up
00:59:15: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2,
changed state to up
00:59:27: %SYS-5-CONFIG_I: Configured from console by console
00:59:42: %SYS-5-CONFIG_I: Configured from console by console
00:59:46: %SYS-5-CONFIG_I: Configured from console by console
On 11/26/08, Jason Madsen <madsen.jason@gmail.com> wrote:
>
> yep, it's the same. try both options and then do a show run and show
> logging.
>
>
> Jason
>
>
> On 11/26/08, Chuck Ryan (chryan) <chryan@cisco.com> wrote:
> > If a requirement asks me to configure logging on a switch, so that
> > syslog messages are stored locally except debug messages, even in the
> > event of a reboot of the switch, I have configured the following:
> >
> > logging file flash:logs.txt 6
> >
> > Is this the same as:
> >
> > logging file flash:logs.txt informational
> >
> > Here are the options available to me on the switch:
> >
> > Rack1SW1(config)#logging file flash:logs.txt ?
> > <0-7> Logging severity level
> > <4096-2147483647> Logging file maximum size
> > alerts Immediate action needed (severity=1)
> > critical Critical conditions (severity=2)
> > debugging Debugging messages (severity=7)
> > emergencies System is unusable (severity=0)
> > errors Error conditions (severity=3)
> > informational Informational messages (severity=6)
> > nomax No maximum logging file size
> > notifications Normal but significant conditions (severity=5)
> > warnings Warning conditions (severity=4)
> > <cr>
> >
> >
> > So my thinking is that the severity level of 6 is the same as typing the
> > word "informational". Would that be correct?
> >
> > Thanks,
> >
> > Chuck
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Mon Dec 01 2008 - 08:18:32 ARST