From db81766d4cfa44d80d8e8fb967ab50ec3935b80f Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Thu, 21 Dec 2017 15:59:50 +0100 Subject: [PATCH] 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 --- guardian.in | 3 +++ 1 file changed, 3 insertions(+) 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. -- 2.39.2