From 950dc26e5d48fc24ab86be91a80aade159f8f5df Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 24 Aug 2010 19:17:41 +0000 Subject: [PATCH] remove path to logger git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7209 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/ExtTab.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/perl-xCAT/xCAT/ExtTab.pm b/perl-xCAT/xCAT/ExtTab.pm index fd02710f9..9ab6c1594 100644 --- a/perl-xCAT/xCAT/ExtTab.pm +++ b/perl-xCAT/xCAT/ExtTab.pm @@ -30,12 +30,12 @@ foreach (@extSchema) { my $modname = $1; no strict 'refs'; my $warning; - `/bin/logger -t xCAT processing $_`; + `logger -t xCAT processing $_`; eval {require($_)}; if ($@) { $warning ="Warning: The user defined database table schema file $file cannot be located or has compiling errors.\n"; print $warning; - `/bin/logger -t xCAT $warning`; + `logger -t xCAT $warning`; next; } if (${"xCAT_schema::" . "$modname" . "::"}{tabspec}) { @@ -44,7 +44,7 @@ foreach (@extSchema) { if (exists($ext_tabspec{$tabname})) { $warning = "Warning: File $file: the table name $tabname is used by other applications. Please rename the table.\n"; print $warning; - `/bin/logger -t xCAT $warning`; + `logger -t xCAT $warning`; } else { $ext_tabspec{$tabname}=$tabspec{$tabname}; } @@ -52,7 +52,7 @@ foreach (@extSchema) { } else { $warning ="\n Warning: Cannot find \%tabspec variable in the user defined database table schema file $file\n"; print $warning; - `/bin/logger -t xCAT $warning`; + `logger -t xCAT $warning`; } #get the defspec from each file and merge them into %ext_defspec @@ -74,7 +74,7 @@ foreach (@extSchema) { if (exists($tmp_hash{$attrname})) { $warning= " Warning: Conflict when adding user defined defspec from file $file. Attribute name $attrname is already defined in object $objname. \n"; print $warning; - `/bin/logger -t xCAT $warning`; + `logger -t xCAT $warning`; } else { #print "\ngot here objname=$objname, attrname=" . $h->{attr_name} . "\n"; push(@{$ext_defspec{$objname}->{'attrs'}}, $h);