From: Stefan Schantl Date: Thu, 21 Dec 2017 14:59:50 +0000 (+0100) Subject: guardian: Log successfull launch of the programm. X-Git-Tag: 2.0.1~3 X-Git-Url: http://git.ipfire.org/?p=people%2Fstevee%2Fguardian.git;a=commitdiff_plain;h=db81766d4cfa44d80d8e8fb967ab50ec3935b80f guardian: Log successfull launch of the programm. Log if the programm successfully has been launched. In case the log level was set to info, there was only a log entry after the programm has been stopped, but it was quite hard to see if it was successfully started before. Signed-off-by: Stefan Schantl --- diff --git a/guardian.in b/guardian.in index 06fc83d..4be2b77 100644 --- a/guardian.in +++ b/guardian.in @@ -121,6 +121,9 @@ unless (defined($cmdargs{"foreground"})) { # Call Init function to initzialize guardian. &Init(); +# Log successfully started process. +$logger->Log("info", "Guardian $version successfully started..."); + # Infinite main loop, which processes all queued events. while(1) { # Get the amount of elements in our queue.