Changeset 398
- Timestamp:
- 05/29/07 15:52:02 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/exp/kindlund-filesystem/etc/honeyclient.xml
r380 r398 54 54 etc/honeyclient_log.conf 55 55 </log_config> 56 <syslog_address description="The IP address of the syslog server that all logging messages will be sent to by both Agent and Manager processes over UDP port 514." default="10.0.0.1"> 57 10.0.0.1 58 </syslog_address> 56 59 <!-- HoneyClient::Agent Options --> 57 60 <Agent> honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Util/Config.pm
r396 r398 82 82 use XML::Tidy; 83 83 use Log::Log4perl qw(:easy); 84 use Sys::Syslog; 84 85 use Data::Dumper; 85 86 … … 173 174 use XML::Tidy; 174 175 176 # Make sure Sys::Syslog loads 177 BEGIN { use_ok('Sys::Syslog') 178 or diag("Can't load Sys::Syslog package. Check to make sure the package library is correctly listed within the path."); } 179 require_ok('Sys::Syslog'); 180 use Sys::Syslog; 181 175 182 # Make sure Data::Dumper loads 176 183 BEGIN { use_ok('Data::Dumper') … … 638 645 Log::Log4perl->init(getVar(name => "log_config")); 639 646 647 # Initialize Syslog Support 648 $Sys::Syslog::host = getVar(name => "syslog_address"); 649 640 650 1; 641 651
