Code

frontend/proto: Include the log priority in LOG messages.
authorSebastian Harl <sh@tokkee.org>
Tue, 16 Sep 2014 16:48:57 +0000 (18:48 +0200)
committerSebastian Harl <sh@tokkee.org>
Tue, 16 Sep 2014 16:48:57 +0000 (18:48 +0200)
commitccfc35aa9bef471b1cb76c33b3aca2b4874f982b
treef0cc641bd215df858c588db54a5a50a11d96ecaa
parent0ede4f54f0b667836ce133d4ae586334c53b0fe0
frontend/proto: Include the log priority in LOG messages.

The priority is encoded as 32 bit integer in network byte order and added as a
separate field before the actual log message.

The 'sysdb' client now handles LOG messages accordingly and prefixes the
message with a string describing the priority.
src/frontend/connection.c
src/include/frontend/proto.h
src/tools/sysdb/command.c