Skip to content

Commit

Permalink
fix(kuma-dp) separate tcp access logs with a new line (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubdyszkiewicz authored Feb 5, 2020
1 parent f0c25de commit 05c86b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Changes:

* feature: support IPv6 in Dataplane resource
[#567](https://github.com/Kong/kuma/pull/567)
* fix: separate tcp access logs with a new line
[#566](https://github.com/Kong/kuma/pull/566)
* feature: validate certificates that users want to use as a `provided` CA
[#565](https://github.com/Kong/kuma/pull/565)
* fix: add MADS port to K8S install script
Expand Down
2 changes: 1 addition & 1 deletion app/kuma-dp/pkg/dataplane/accesslogs/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func formatEntry(entry *envoy_data_accesslog_v2.HTTPAccessLogEntry, format strin
}

func (s *accessLogServer) sendLog(conn net.Conn, log string) error {
_, err := conn.Write([]byte(log))
_, err := conn.Write(append([]byte(log), byte('\n')))
return err
}

Expand Down

0 comments on commit 05c86b5

Please sign in to comment.