Code

frontend: Send connection-related log messages to the client.
authorSebastian Harl <sh@tokkee.org>
Thu, 6 Feb 2014 19:12:38 +0000 (20:12 +0100)
committerSebastian Harl <sh@tokkee.org>
Thu, 6 Feb 2014 19:12:38 +0000 (20:12 +0100)
commitac07692583601db96dc0a655158e78a1cbbbfcfd
treee03d11f7a59aa2cf7e9a67a7c368ad962e55a23e
parent840ccffd2fbeb0277b1637941f396ce023dcec3d
frontend: Send connection-related log messages to the client.

This is done by registering a logging callback which will send all messages
originating from a thread currently handling a connection to the respective
client. For this, the connection object is stored in a thread-specific data
segment.
src/frontend/connection.c
src/include/frontend/connection.h
src/include/frontend/proto.h
src/tools/sysdbd/main.c