From 377195ce83c22c3a3771565cf15f6a06f1440b06 Mon Sep 17 00:00:00 2001 From: Azul Date: Wed, 25 Sep 2013 12:29:48 +0200 Subject: log to file or syslog instead of STDOUT --- bin/tapicero | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/tapicero b/bin/tapicero index d3b9d78..9a5a7ee 100755 --- a/bin/tapicero +++ b/bin/tapicero @@ -26,6 +26,7 @@ end # Graceful Ctrl-C Signal.trap("SIGINT") do + Tapicero.logger.warn "Received SIGINT - stopping tapicero" puts "\nQuit - leaving tapicero" exit end -- cgit v1.2.3