Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
b7bbe25f
Commit
b7bbe25f
authored
Dec 06, 2011
by
Michal 'vorner' Vaner
Browse files
[1429] Logging
parent
9f792ee3
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/bin/bind10/bind10_messages.mes
View file @
b7bbe25f
...
...
@@ -99,6 +99,12 @@ The boss module is sending a kill signal to process with the given name,
as part of the process of killing all started processes during a failed
startup, as described for BIND10_KILLING_ALL_PROCESSES
% BIND10_LOST_SOCKET_CONSUMER consumer of sockets disconnected, considering all its sockets closed
A connection from one of the applications which requested a socket was
closed. This means the application has terminated, so all the sockets it was
using are now closed and bind10 process can release them as well, unless the
same sockets are used by yet another application.
% BIND10_MSGQ_ALREADY_RUNNING msgq daemon already running, cannot start
There already appears to be a message bus daemon running. Either an
old process was not shut down correctly, and needs to be killed, or
...
...
@@ -110,6 +116,11 @@ While listening on the message bus channel for messages, it suddenly
disappeared. The msgq daemon may have died. This might lead to an
inconsistent state of the system, and BIND 10 will now shut down.
% BIND10_NO_SOCKET couldn't send a socket for token %1 because of error: %2
An error occurred when the bind10 process was asked to send a socket file
descriptor. The error is mentioned, most common reason is that the request
is invalid and may not come from bind10 process at all.
% BIND10_PROCESS_ENDED process %2 of %1 ended with status %3
This indicates a process started previously terminated. The process id
and component owning the process are indicated, as well as the exit code.
...
...
src/bin/bind10/bind10_src.py.in
View file @
b7bbe25f
...
...
@@ -872,7 +872,7 @@ class BoB:
unix_socket.sendall("1\n")
libutil_io_python.send_fd(unix_socket.fileno(), fd)
except Exception as e:
# TODO Log
logger.error(BIND10_NO_SOCKET, token, e)
unix_socket.sendall("0\n")
def socket_consumer_dead(self, unix_socket):
...
...
@@ -881,7 +881,7 @@ class BoB:
sockets sent to it are to be considered closed. This function signals
so to the _socket_cache.
"""
# TODO Log
logger.error(BIND10_LOST_SOCKET_CONSUMER, unix_socket.fileno())
self._socket_cache.drop_application(unix_socket.fileno())
def insert_creator(self, creator):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment