From: Robert 'phaylon' Sedlacek Date: Wed, 3 Oct 2012 19:15:25 +0000 (+0000) Subject: log when we start X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f40a85212c3dfde259cd12677c2d5f270a7435ec;p=scpubgit%2FSystem-Introspector-Report.git log when we start --- diff --git a/bin/system-introspector-report b/bin/system-introspector-report index d69ad8d..79b6b92 100755 --- a/bin/system-introspector-report +++ b/bin/system-introspector-report @@ -34,6 +34,8 @@ my $logger = Log::Contextual::SimpleLogger->new({ }); set_logger $logger; +log_info { 'Starting' }; + my $config = System::Introspector::Report::Config ->new(config_file => log_info { "Loading config '$_[0]'" } $config_file); @@ -55,6 +57,7 @@ for my $publisher ($config->publishers(@publish_types)) { print "Error during publish: $_\n"; }; } + log_info { "Done" }; __END__