From 0ca5ec6f789288fff0adeac5af35462a0913cb63 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Sat, 6 May 2023 23:40:02 +0200 Subject: [PATCH] Dnsmanagerd: log change. --- src/main.cr | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.cr b/src/main.cr index 5140083..495e534 100644 --- a/src/main.cr +++ b/src/main.cr @@ -111,24 +111,24 @@ class DNSManager::Service < IPC begin case event.type when LibIPC::EventType::Timer - Baguette::Log.debug "Timer" if @configuration.print_ipc_timer + Baguette::Log.debug "Timer." if @configuration.print_ipc_timer when LibIPC::EventType::Connection - Baguette::Log.debug "connection from #{event.fd}" + Baguette::Log.debug "New connection!" when LibIPC::EventType::Disconnection - Baguette::Log.debug "disconnection from #{event.fd}" + Baguette::Log.debug "Disconnection from #{event.fd}." @logged_users.delete event.fd when LibIPC::EventType::MessageTx - Baguette::Log.debug "message sent to #{event.fd}" + Baguette::Log.debug "Message sent to #{event.fd}." when LibIPC::EventType::MessageRx - Baguette::Log.debug "message received from #{event.fd}" + Baguette::Log.debug "Message received from #{event.fd}." handle_request event else - Baguette::Log.warning "unhandled IPC event: #{event.class}" + Baguette::Log.warning "Unhandled IPC event: #{event.class}." if event.responds_to?(:fd) fd = event.fd Baguette::Log.warning "closing #{fd}"