Skip to content

Commit 2e4effa

Browse files
author
Jiří Fencl
committed
Fix missing production logging newline
1 parent ed8572c commit 2e4effa

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/cyan-tips-type.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ima/server": patch
3+
---
4+
5+
Fix missing production logging newline

packages/server/lib/factory/loggerFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function _writeLog(channel, level, data) {
1515
data: typeof data === 'string' ? { message: data } : data,
1616
});
1717

18-
channel.write(logData); // use direct write to avoid extra formatting (e.g., from console.error)
18+
channel.write(logData + '\n'); // use direct write to avoid extra formatting (e.g., from console.error)
1919
}
2020

2121
/**

0 commit comments

Comments
 (0)