User`s guide
Configuring Syslog Servers, Applications, and Console Logging
Matrix DFE Series and N-SA User’s Guide 6-5
Modifying default settings
Youcanchangefactorydefaultloggingsettingsusingoneofthefollowingmethods.
•Tospecifyloggingparametersduringorafternewserversetup:
set logging server index ip-addr ip-addr [facility facility] [severity
severity] [descr descr] [port port] state enable
Ifnotspecified,optionalserverparameterswillbesettothefollowingsystemdefaults:
– facility‐local4
– severity‐8(acceptingallmessagesaboveandincludingthelevelconfiguredfor
applications).
– descr‐nodescriptionapplied
– port‐UDPport514
•Tochangedefaultparametersforallservers:
set logging default {[facility facility] [severity severity] [port port]}
Examples
ThisexampleshowshowtoconfigureSyslogserver1atIP134.141.89.113toacceptmessages
fromfacilitycategorylocal6atseveritylevel3andlower.
ThisexampleshowshowtochangeSyslogdefaultssothatallserversacceptmessagesfrom
thelocal2facilitycategoryataseveritylevel4andlower.
Thesesettingswillapplytoall
newly‐enabledservers,unlessexplicitlyconfiguredwiththesetloggingservercommand:
Reviewing and Configuring Logging for Applications
Bydefault,messageswillbeloggedatseveritylevel6toconfiguredservers,andtotheconsole
andpersistentfile(ifenabled)forallapplicationsrunningonyourdevice.Usethecommandsin
thissectiontoreviewandchangeloggingsettingsforallcurrentapplications.
Displaying Current Application Severity Levels
Todisplayloggingseveritylevelsforoneorallapplicationscurrentlyrunningonyourdevice:
show logging application {mnemonic|all}
Example
Thisexampleshowsoutputfromtheshowloggingapplicationallcommand.Amnemonic
valueforeachappl icationislistedwiththeseveritylevelatwhichlogginghasbeen
Matrix(rw)->set logging server 1 ip-addr 134.141.89.113 facility local6
severity 3
Matrix(rw)->set logging default facility local2 severity 4
Note: The logging severity for client applications must be set at the same level — or a lower level
— than the severity level set for the Syslog server in order for the server to collect error messages
from those clients. For example, a Syslog server with a severity level 4 would not collect
application-related messages from a client set at level 5 or above.