Changeset 401
- Timestamp:
- 05/29/07 16:48:00 (1 year ago)
- Files:
-
- honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Agent/Driver/Browser.pm (modified) (2 diffs)
- honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Agent/Integrity/Filesystem.pm (modified) (1 prop)
- honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Agent/Integrity/Registry.pm (modified) (1 diff)
- honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Manager.pm (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Agent/Driver/Browser.pm
r316 r401 234 234 # TODO: Need unit testing. 235 235 use URI::URL; 236 237 # Include Logging Library 238 use Log::Log4perl qw(:easy); 239 240 # The global logging object. 241 our $LOG = get_logger(); 236 242 237 243 =pod … … 1025 1031 if ($self->_remaining_number_of_relative_links_to_visit == 1) { 1026 1032 1027 # XXX: D elete this, eventually.1028 print "Resetting relative links to visit counter.\n";1033 # XXX: Do we need this message in here? 1034 $LOG->info("Resetting relative links to visit counter."); 1029 1035 1030 1036 # The counter has reached one, so drop all other relative links honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Agent/Integrity/Filesystem.pm
- Property svn:executable deleted
honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Agent/Integrity/Registry.pm
r396 r401 432 432 $fname = $parser->getFilename(); 433 433 if (defined($fname) && (-f $fname)) { 434 # XXX: Change this to debug, eventually. 435 $LOG->info("Deleting temporary '" . $hive . "' hive data in '" . 434 $LOG->debug("Deleting temporary '" . $hive . "' hive data in '" . 436 435 $fname . "'."); 437 436 if (!unlink($fname)) { honeyclient/branches/exp/kindlund-filesystem/lib/HoneyClient/Manager.pm
r382 r401 194 194 use IO::File; 195 195 196 # TODO: Include unit tests. 197 # Include Logging Library 198 use Log::Log4perl qw(:easy); 199 200 # The global logging object. 201 our $LOG = get_logger(); 202 196 203 # Complete URL of SOAP server, when initialized. 197 204 our $URL_BASE : shared = undef; … … 318 325 } 319 326 327 $LOG->warn(__PACKAGE__ . "->_handleFault(): Error occurred during processing.\n" . $errMsg); 320 328 Carp::carp __PACKAGE__ . "->_handleFault(): Error occurred during processing.\n" . $errMsg; 321 329 } … … 335 343 sub _cleanup { 336 344 337 print "Cleaning up...\n";345 $LOG->info("Cleaning up."); 338 346 339 347 # Mask all possible signals, so that we don't call this function multiple times. … … 368 376 # of cleanup up the clones. 369 377 HoneyClient::Manager::VM->init(); 370 print "Calling suspendVM(config => $vmCloneConfig)...\n";378 $LOG->info("Calling suspendVM(config => " . $vmCloneConfig . ")."); 371 379 my $stubVM = getClientHandle(namespace => "HoneyClient::Manager::VM"); 372 380 $stubVM->suspendVM(config => $vmCloneConfig); … … 378 386 if (length($STATE_FILE) > 0 && 379 387 defined($globalAgentState)) { 380 print "Saving state to '" . $STATE_FILE . "'...\n";388 $LOG->info("Saving state to '" . $STATE_FILE . "'."); 381 389 my $dump_file = new IO::File($STATE_FILE, "w"); 382 390 … … 592 600 } 593 601 } 602 603 $LOG->info("Created clone '" . $vmName . "' using IP (" . $vmIP . ") and MAC (" . $vmMAC . ")."); 594 604 595 605 # Build our VM's connection table.
