diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 1f0494321..83f863fb9 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -13,8 +13,8 @@ BEGIN if (defined $ENV{ENABLE_TRACE_CODE}) { use lib "$ENV{'XCATROOT'}/lib/perl"; use lib "/opt/xcat/lib/perl"; - use xCAT::Enabletrace qw(loadtrace filter); - loadtrace(); + require xCAT::Enabletrace; + xCAT::Enabletrace->loadtrace(); } }