User`s guide

Configuring Syslog Servers, Applications, and Console Logging
Matrix DFE Series and N-SA User’s Guide 6-7
Enabling Console Logging and File Storage
YoucanconfigureloggingtodisplaymessagestothecurrentconsoleCLIsessiononly,orto
displaytotheconsoleandsavetoapersistentfile.Consoleloggingallowsyoutoviewonlyas
manymessagesaswillfitonthescreen.Asnewmessagesappear,oldmessagessimplyscrolloff
theconsole.Whilethisisatemporarymeansoflogginginformation,itallowsadministratorsto
trackveryspecificactivitiesquicklyandeasily.Consolelogmessagescanalsobesavedtoa
persistentfileattwolocations:
slotX/logs/current.logLocationofcurrentsystemlogmessages(upto256k),whereX
specifies
theslotlocationofthedevice.
slotX/logs/old.logLocationofprevioussystemlogmessages,whereXspecifiestheslot
locationofthedevice.Currentmessageswillbemovedtotheold.logwhencurrent.logfile
exceeds256k.
Usethefollowingcommandstoreviewandconfigureconsoleloggingandfilestorage.
Displaying to the console and saving to a file
Todisplaylogmessagestotheconsoleandsavetoapersistentfile:
set logging local console enable file enable
Displaying to the current CLI session
TodisplayloggingtothecurrentCLIconsolesession:
set logging here enable
ThisaddsthecurrentCLIsessiontothelistofSyslogdestinations,andwillbetemporaryif
thecurrentCLIsessionisusingTelnetorSSH.
Displaying a log file
Todisplaythecontentsofthepersistentlogfile:
show file slotslotnumber/logs/current.log|old.log
Note: These log files may also be copied to another device using FTP or TFTP.