summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/launch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/just_mr/launch.cpp')
-rw-r--r--src/other_tools/just_mr/launch.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/other_tools/just_mr/launch.cpp b/src/other_tools/just_mr/launch.cpp
index 76272213..cb0f70d2 100644
--- a/src/other_tools/just_mr/launch.cpp
+++ b/src/other_tools/just_mr/launch.cpp
@@ -285,6 +285,12 @@ auto CallJust(std::optional<std::filesystem::path> const& config_file,
"{:%Y-%m-%d-%H:%M}-{}", fmt::gmtime(invocation_time), uuid);
dir = dir / invocation_id;
if (FileSystemManager::CreateDirectoryExclusive(dir)) {
+ if (invocation_log.invocation_msg) {
+ Logger::Log(LogLevel::Info,
+ "{}{}",
+ *invocation_log.invocation_msg,
+ invocation_id);
+ }
Logger::Log(
LogLevel::Info, "Invocation logged at {}", dir.string());
log_dir = dir;