diag: Log when an MDProducer is created

This commit is contained in:
John Colvin committed 2024-10-17 05:47:46 +00:00
1 parent 0b2a0266c1
commit fe53fd0f2b
1 file changed
+4
+4
View File
@@ -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;