diff --git a/src/sharedpv.cpp b/src/sharedpv.cpp index 6ee7017..b22a24f 100644 --- a/src/sharedpv.cpp +++ b/src/sharedpv.cpp @@ -23,6 +23,7 @@ typedef epicsGuard Guard; typedef epicsGuardRelease UnGuard; DEFINE_LOGGER(logshared, "pvxs.server.sharedpv"); +DEFINE_LOGGER(logmailbox, "pvxs.mailbox"); namespace pvxs { namespace server { @@ -57,8 +58,6 @@ SharedPV SharedPV::buildMailbox() ret.onPut([](SharedPV& pv, std::unique_ptr&& op, Value&& val) { - log_debug_printf(logshared, "%s on %s mailbox put\n", op->peerName().c_str(), op->name().c_str()); - auto ts(val["timeStamp"]); if(ts && !ts.isMarked(true, true)) { // use current time @@ -69,6 +68,10 @@ SharedPV SharedPV::buildMailbox() } } + log_debug_printf(logmailbox, "%s on %s mailbox put: %s\n", + op->peerName().c_str(), op->name().c_str(), + std::string(SB()<reply();