diff --git a/perl-xCAT-2.0/xCAT/MacMap.pm b/perl-xCAT-2.0/xCAT/MacMap.pm index 940367613..3c7463c96 100755 --- a/perl-xCAT-2.0/xCAT/MacMap.pm +++ b/perl-xCAT-2.0/xCAT/MacMap.pm @@ -8,7 +8,6 @@ use IO::Handle; use Sys::Syslog; use Data::Dumper; use SNMP; -openlog("MacMap",'','local0'); my %cisco_vlans; #Special hash structure to reflect discovered VLANS on Cisco equip #use IF-MIB (1.3.6.1.2.1.2) for all switches # 1.3.6.1.2.1.31.1.1 - ifXtable diff --git a/xCAT-server-2.0/sbin/xcatd b/xCAT-server-2.0/sbin/xcatd index 7869dcca4..95d84150d 100755 --- a/xCAT-server-2.0/sbin/xcatd +++ b/xCAT-server-2.0/sbin/xcatd @@ -36,7 +36,8 @@ use xCAT::Table; use Data::Dumper; use Getopt::Long; use Sys::Syslog qw(:DEFAULT setlogsock); -setlogsock([qw(native,tcp,udp,unix,stream)]); +openlog("xcatd",,"local4"); +setlogsock(["native","tcp","udp","unix","stream"]); use xCAT::NotifHandler; use xCAT_monitoring::monitorctrl;