diag: Log when an MDProducer is created
This commit is contained in:
1 parent
0b2a0266c1
commit
fe53fd0f2b
1 file changed
+4
@@ -3,6 +3,8 @@
|
||||
#include "MemorySegmentUtils.h"
|
||||
#include "SecurityIDRecorder.h"
|
||||
#include "spark/domain_model/Security.pb.h"
|
||||
#include "spark/domain_model/Venue.h"
|
||||
#include "spark/domain_model/security_type.h"
|
||||
#include "spark/md/Diag/ShmDumper.h"
|
||||
#include "spark/md/ShmSegmentName.h"
|
||||
#include "spark/utils/SharedList.h"
|
||||
@@ -156,6 +158,8 @@ MDProducerImpl &MDProducer::get_producer(
|
||||
return *impl;
|
||||
}
|
||||
}
|
||||
LOG(md, Info, "Creating MDProducer for {} {} {}", exchange,
|
||||
std::string{symbol}, type);
|
||||
|
||||
// Not found add a new one
|
||||
unique_ptr<MDProducerImpl> newp;
|
||||
|
||||
Reference in new issue
Block a user