summaryrefslogtreecommitdiff
path: root/libpod/logs
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/logs')
-rw-r--r--libpod/logs/log.go12
1 files changed, 2 insertions, 10 deletions
diff --git a/libpod/logs/log.go b/libpod/logs/log.go
index a584de0ee..1a0223edc 100644
--- a/libpod/logs/log.go
+++ b/libpod/logs/log.go
@@ -251,19 +251,11 @@ func (l *LogLine) Write(stdout io.Writer, stderr io.Writer, logOpts *LogOptions)
switch l.Device {
case "stdout":
if stdout != nil {
- if l.Partial() {
- fmt.Fprint(stdout, l.String(logOpts))
- } else {
- fmt.Fprintln(stdout, l.String(logOpts))
- }
+ fmt.Fprintln(stdout, l.String(logOpts))
}
case "stderr":
if stderr != nil {
- if l.Partial() {
- fmt.Fprint(stderr, l.String(logOpts))
- } else {
- fmt.Fprintln(stderr, l.String(logOpts))
- }
+ fmt.Fprintln(stderr, l.String(logOpts))
}
default:
// Warn the user if the device type does not match. Most likely the file is corrupted.