]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: LogEntry: add 'channel' field
authorJoao Eduardo Luis <joao.luis@inktank.com>
Wed, 16 Jul 2014 17:04:29 +0000 (18:04 +0100)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Wed, 27 Aug 2014 17:21:47 +0000 (18:21 +0100)
commit8a2bfcd88ead9f037c9bb2b27142e10c419d3c96
tree995500b15d4e03b4cbd2f69d224369f0031f5f3a
parent3178ca9ebabf482ad3df574d04768ae21dbf3929
common: LogEntry: add 'channel' field

We now introduce the concept of 'channel', analogous to syslog
facilities, for log entries.  This will, shortly, allow a LogClient
to send messages to more than just the default syslog facility and log
file, also allowing multiple LogClients and having a way to associate
a LogEntry with its rightful owner.

We also add the same field to the MLogAck message so that a LogClient
waiting on a given ack is able to recognize the MLogAck as its own.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
src/common/LogEntry.cc
src/common/LogEntry.h
src/messages/MLogAck.h