summaryrefslogtreecommitdiff
path: root/internal/io/fs/readfile.go
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2022-02-15 12:22:00 +0000
committerPaul Buetow <pbuetow@mimecast.com>2022-02-15 12:22:00 +0000
commit751d78dfe58f7ec2a83457752c60c1ab2dc0418d (patch)
treec5dceab08f2a37b8b9b7d0a17cbc2900656256d9 /internal/io/fs/readfile.go
parentf1462f2b191e0618dc374b2afce90aee1eed00f0 (diff)
minor fix, add missing newlines to server messages
Diffstat (limited to 'internal/io/fs/readfile.go')
-rw-r--r--internal/io/fs/readfile.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/io/fs/readfile.go b/internal/io/fs/readfile.go
index 90c5966..669f99f 100644
--- a/internal/io/fs/readfile.go
+++ b/internal/io/fs/readfile.go
@@ -321,7 +321,7 @@ func (f *readFile) handleReadByte(ctx context.Context, b byte,
if message.Len() >= config.Server.MaxLineLength {
if !f.warnedAboutLongLine {
f.serverMessages <- dlog.Common.Warn(f.filePath,
- "Long log line, splitting into multiple lines")
+ "Long log line, splitting into multiple lines") + "\n"
f.warnedAboutLongLine = true
}
message.WriteByte('\n')