Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions doc/releaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,6 @@ This file describes the main feature changes for each InfoLogger released versio

# v2.8.0 - 18/02/2025
- API : adapted InfoLoggerFMQ.hxx for compatibility with FairLogger 2.1.0

# v2.8.1 - 19/02/2025
- InfoLoggerFMQ.hxx fix
6 changes: 4 additions & 2 deletions include/InfoLogger/InfoLoggerFMQ.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,14 @@ void setFMQLogsToInfoLogger(AliceO2::InfoLogger::InfoLogger* logPtr = nullptr)
level = 50;
}

std::string fileName = std::string(metadata.file);
int fileLine = atoi(std::string(metadata.line).c_str());
AliceO2::InfoLogger::InfoLogger::InfoLoggerMessageOption opt = {
severity,
level,
AliceO2::InfoLogger::InfoLogger::undefinedMessageOption.errorCode,
std::string(metadata.file).c_str(),
atoi(std::string(metadata.line).c_str())
fileName.c_str(),
fileLine
};
if (prefix == NULL) {
theLogPtr->log(opt, ctx, "FMQ: %s", content.c_str());
Expand Down