Demote all LOG_EMERG to LOG_ERR, spamming all xterms is bad.

This commit is contained in:
Sven-Haegar Koch 2010-03-26 17:25:18 +01:00
parent d5654f568d
commit 0310deb225
2 changed files with 6 additions and 6 deletions

View file

@ -498,7 +498,7 @@ bool setup_myself(void) {
EV_READ|EV_PERSIST,
handle_new_meta_connection, NULL);
if(event_add(&listen_socket[listen_sockets].ev_tcp, NULL) < 0) {
logger(LOG_EMERG, "event_add failed: %s", strerror(errno));
logger(LOG_ERR, "event_add failed: %s", strerror(errno));
abort();
}
@ -507,7 +507,7 @@ bool setup_myself(void) {
EV_READ|EV_PERSIST,
handle_incoming_vpn_data, NULL);
if(event_add(&listen_socket[listen_sockets].ev_udp, NULL) < 0) {
logger(LOG_EMERG, "event_add failed: %s", strerror(errno));
logger(LOG_ERR, "event_add failed: %s", strerror(errno));
abort();
}