Fix xCATd logging to work appropriately

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@889 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-03-25 20:58:10 +00:00
parent 92fb8a305b
commit d4aff32345
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;