projects
/
guacd.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6f2316a
)
Changed non-errors to info.
author
Michael Jumper <zhangmaike@users.sourceforge.net>
Fri, 16 Mar 2012 02:29:02 +0000
(19:29 -0700)
committer
Michael Jumper <zhangmaike@users.sourceforge.net>
Fri, 16 Mar 2012 02:29:02 +0000
(19:29 -0700)
src/daemon.c
patch
|
blob
|
history
diff --git
a/src/daemon.c
b/src/daemon.c
index
d227501
..
06e9892
100644
(file)
--- 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) {
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 */
"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
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));
"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) {
/* 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) {
}
/* 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 */
}
/* Log listening status */