From 6129dc32aa8eea248220bd050ca66dc7e096de16 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 15 Mar 2012 19:29:02 -0700 Subject: [PATCH] Changed non-errors to info. --- src/daemon.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/daemon.c b/src/daemon.c index d227501..06e9892 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -266,7 +266,7 @@ int main(int argc, char* argv[]) { current_address->ai_addr, current_address->ai_addrlen) == 0) { - guacd_log_error("Successfully bound socket to " + guacd_log_info("Successfully bound socket to " "host %s, port %s", bound_address, bound_port); /* Done if successful bind */ @@ -274,9 +274,9 @@ int main(int argc, char* argv[]) { } - /* Otherwise log error */ + /* Otherwise log information regarding bind failure */ else - guacd_log_error("Error binding socket to " + guacd_log_info("Unable to bind socket to " "host %s, port %s: %s", bound_address, bound_port, strerror(errno)); @@ -327,12 +327,12 @@ int main(int argc, char* argv[]) { /* Ignore SIGPIPE */ if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) { - guacd_log_error("Could not set handler for SIGPIPE to ignore. SIGPIPE may cause termination of the daemon."); + guacd_log_info("Could not set handler for SIGPIPE to ignore. SIGPIPE may cause termination of the daemon."); } /* Ignore SIGCHLD (force automatic removal of children) */ if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) { - guacd_log_error("Could not set handler for SIGCHLD to ignore. Child processes may pile up in the process table."); + guacd_log_info("Could not set handler for SIGCHLD to ignore. Child processes may pile up in the process table."); } /* Log listening status */ -- 1.7.10.4