diff --git a/crates/core/tedge_api/src/message_log.rs b/crates/core/tedge_api/src/message_log.rs
index 9693a9c9624..7eeaf58d359 100644
--- a/crates/core/tedge_api/src/message_log.rs
+++ b/crates/core/tedge_api/src/message_log.rs
@@ -12,6 +12,7 @@ use std::io::Write;
 use std::path::Path;
 
 const LOG_FILE_NAME: &str = "entity_store.jsonl";
+const LOG_FORMAT_VERSION: &str = "1.0";
 
 #[derive(thiserror::Error, Debug)]
 pub enum LogEntryError {
@@ -83,8 +84,7 @@ impl MessageLogWriter {
         let mut writer = BufWriter::new(file);
 
         if file_is_empty {
-            let version = env!("CARGO_PKG_VERSION");
-            let version_info = json!({"version": version}).to_string();
+            let version_info = json!({"version": LOG_FORMAT_VERSION}).to_string();
             writeln!(writer, "{}", version_info)?;
         }