rsyslogd
root@library:~# more /etc/rsyslog.d/60-ciscoswitches.conf
# Cisco SG500X Stack
local7.* /var/log/ciscoSG500X.log
# Cisco Nexus 93108TC-EX - nexus01
local5.* /var/log/ciscoNexus01.log
# Cisco Nexus 93108TC-EX - nexus02
local6.* /var/log/ciscoNexus02.log
You may prefix each entry with the minus “-” sign to omit syncing the file after every logging. Note that you might lose information if the system crashes right behind a write attempt. Nevertheless this might give you back some performance, especially if you run programs that use logging in a very verbose manner.