Setup guide
facility (name) - name of the log group, message type
local (disk | memory | none; default: memory) - how to treat local logs
• disk - logs are saved to hard drive
• memory - logs are saved to local buffer. They can be viewed using the '/log print' command
• none - logs from this source are discarded
remote (none | syslog; default: none) - how to treat logs that are sent to remote host
• none - do not send logs to a remote host
• syslog - send logs to remote syslog daemon
prefix (text; default: "") - local log prefix
remote address (IP address; default: "") - remote log server IP address. Used when logging type is
remote. If not set, default log server IP address is used
remote-port (integer; default: 0) - remote log server UDP port. Used when logging type is remote.
If not set, default log server UDP port is used
echo (yes | no; default: no) - whether to echo the message of this type to the active (logged-in)
consoles
Notes
You cannot add, delete or rename the facilities: they are added and removed with the packages they
are associated with.
System-Echo facility has its default echo property set to yes.
Example
To force the router to send Firewall-Log to the 10.5.13.11 server:
[admin@Wandy] system logging facility> set Firewall-Log remote=syslog \
\... remote-address=10.5.13.11 remote-port=514
[admin@Wandy] system logging facility> print
# FACILITY LOCAL REMOTE PREFIX REMOTE-ADDRESS REMOTE-PORT ECHO
0 Firewall-Log memory syslog 10.5.13.11 514 no
1 PPP-Account memory none 0.0.0.0 0 no
2 PPP-Info memory none 0.0.0.0 0 no
3 PPP-Error memory none 0.0.0.0 0 no
4 System-Info memory none 0.0.0.0 0 no
5 System-Error memory none 0.0.0.0 0 no
6 System-Warning memory none 0.0.0.0 0 no
7 Telephony-Info memory none 0.0.0.0 0 no
8 Telephony-E... memory none 0.0.0.0 0 no
9 Prism-Info memory none 0.0.0.0 0 no
10 Web-Proxy-A... memory none 0.0.0.0 0 no
11 ISDN-Info memory none 0.0.0.0 0 no
12 Hotspot-Acc... memory none 0.0.0.0 0 no
13 Hotspot-Info memory none 0.0.0.0 0 no
14 Hotspot-Error memory none 0.0.0.0 0 no
15 IPsec-Event memory none 0.0.0.0 0 no
16 IKE-Event memory none 0.0.0.0 0 no
17 IPsec-Warning memory none 0.0.0.0 0 no
18 System-Echo memory none 0.0.0.0 0 yes
[admin@Wandy] system logging facility>
Log Messages
log