{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/28641","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/28641/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/28641/comments","events_url":"https://api.github.com/repos/docker/docker/issues/28641/events","html_url":"https://github.com/docker/docker/issues/28641","id":190594215,"number":28641,"title":"journald logging driver is skipping lines","user":{"login":"nilsotto","id":432805,"avatar_url":"https://avatars.githubusercontent.com/u/432805?v=3","gravatar_id":"","url":"https://api.github.com/users/nilsotto","html_url":"https://github.com/nilsotto","followers_url":"https://api.github.com/users/nilsotto/followers","following_url":"https://api.github.com/users/nilsotto/following{/other_user}","gists_url":"https://api.github.com/users/nilsotto/gists{/gist_id}","starred_url":"https://api.github.com/users/nilsotto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nilsotto/subscriptions","organizations_url":"https://api.github.com/users/nilsotto/orgs","repos_url":"https://api.github.com/users/nilsotto/repos","events_url":"https://api.github.com/users/nilsotto/events{/privacy}","received_events_url":"https://api.github.com/users/nilsotto/received_events","type":"User","site_admin":false},"labels":[{"id":190258329,"url":"https://api.github.com/repos/docker/docker/labels/kind/bug","name":"kind/bug","color":"FF8C94","default":false},{"id":375714123,"url":"https://api.github.com/repos/docker/docker/labels/version/1.12","name":"version/1.12","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-21T00:04:45Z","updated_at":"2016-11-21T13:34:23Z","closed_at":"2016-11-21T13:34:23Z","body":"**Description**\r\nDocker daemon configured with --log-driver=journald is skipping random log-entries.\r\nThe following is a stripped-down example for debugging this issue.\r\n\r\n**Steps to reproduce the issue:**\r\n1. run test with journald driver: \r\n` docker run -d --name=ml_jd --log-driver=journald nilsotto/massivelog; sleep 60; docker stop ml_jd`\r\n2. check logs\r\n`docker logs ml_jd`\r\nAs you will see, the container prints equal-signs in bathces of 75 lines increasing in length\r\nWith the journald log driver, random parts of the output is not logged.\r\nThis can be verified by \r\n`docker logs ml_jd | cut -d \" \" -f 1 | uniq -c | grep -v \"75\"`\r\nwich prints iteration numbers not having 75 lines.\r\nWhen a \"skip\" occurs, the log lacks several hundred lines, this happens two times in a one minute run on my laptop\r\n**Describe the results you received:**\r\nLInes are skipped in the journald log\r\n\r\n**Describe the results you expected:**\r\nAll lines should be logged,\r\nThe same experiment with the json-file log driver is logging every line\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\n\r\n**Output of `docker version`:**\r\n\r\n```\r\nClient:\r\n Version:      1.12.1\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   23cf638\r\n Built:        \r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.12.1\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   23cf638\r\n Built:        \r\n OS/Arch:      linux/amd64\r\n\r\n```\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\nContainers: 489\r\n Running: 0\r\n Paused: 0\r\n Stopped: 489\r\nImages: 154\r\nServer Version: 1.12.1\r\nStorage Driver: overlay\r\n Backing Filesystem: extfs\r\nLogging Driver: journald\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: host overlay null bridge\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nSecurity Options: seccomp\r\nKernel Version: 4.7.2-101.fc23.x86_64\r\nOperating System: Fedora 23 (Workstation Edition)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 8\r\nTotal Memory: 6.75 GiB\r\nName: localhost.localdomain\r\nID: SUN6:43M3:MT3R:S2KS:JUYK:HHS5:3DTN:RFK5:55SX:BB6G:3FUV:A57Y\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): false\r\nUsername: nilsotto\r\nRegistry: https://index.docker.io/v1/\r\nInsecure Registries:\r\n 127.0.0.0/8\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\nI have tried on our test-hosts as well with the same result\r\n"}}
{"actor":{"display_login":"nilsotto"}}