{"action":"created","issue":{"url":"https://api.github.com/repos/minio/minio/issues/3241","repository_url":"https://api.github.com/repos/minio/minio","labels_url":"https://api.github.com/repos/minio/minio/issues/3241/labels{/name}","comments_url":"https://api.github.com/repos/minio/minio/issues/3241/comments","events_url":"https://api.github.com/repos/minio/minio/issues/3241/events","html_url":"https://github.com/minio/minio/issues/3241","id":188611138,"number":3241,"title":"No logging from Docker container","user":{"login":"solsson","id":144945,"avatar_url":"https://avatars.githubusercontent.com/u/144945?v=3","gravatar_id":"","url":"https://api.github.com/users/solsson","html_url":"https://github.com/solsson","followers_url":"https://api.github.com/users/solsson/followers","following_url":"https://api.github.com/users/solsson/following{/other_user}","gists_url":"https://api.github.com/users/solsson/gists{/gist_id}","starred_url":"https://api.github.com/users/solsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solsson/subscriptions","organizations_url":"https://api.github.com/users/solsson/orgs","repos_url":"https://api.github.com/users/solsson/repos","events_url":"https://api.github.com/users/solsson/events{/privacy}","received_events_url":"https://api.github.com/users/solsson/received_events","type":"User","site_admin":false},"labels":[{"id":399254082,"url":"https://api.github.com/repos/minio/minio/labels/community","name":"community","color":"1d76db","default":false},{"id":404833458,"url":"https://api.github.com/repos/minio/minio/labels/faq","name":"faq","color":"fbca04","default":false},{"id":166285395,"url":"https://api.github.com/repos/minio/minio/labels/question","name":"question","color":"cc317c","default":true},{"id":166285396,"url":"https://api.github.com/repos/minio/minio/labels/worksforme","name":"worksforme","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"koolhead17","id":41746,"avatar_url":"https://avatars.githubusercontent.com/u/41746?v=3","gravatar_id":"","url":"https://api.github.com/users/koolhead17","html_url":"https://github.com/koolhead17","followers_url":"https://api.github.com/users/koolhead17/followers","following_url":"https://api.github.com/users/koolhead17/following{/other_user}","gists_url":"https://api.github.com/users/koolhead17/gists{/gist_id}","starred_url":"https://api.github.com/users/koolhead17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koolhead17/subscriptions","organizations_url":"https://api.github.com/users/koolhead17/orgs","repos_url":"https://api.github.com/users/koolhead17/repos","events_url":"https://api.github.com/users/koolhead17/events{/privacy}","received_events_url":"https://api.github.com/users/koolhead17/received_events","type":"User","site_admin":false},"assignees":[{"login":"koolhead17","id":41746,"avatar_url":"https://avatars.githubusercontent.com/u/41746?v=3","gravatar_id":"","url":"https://api.github.com/users/koolhead17","html_url":"https://github.com/koolhead17","followers_url":"https://api.github.com/users/koolhead17/followers","following_url":"https://api.github.com/users/koolhead17/following{/other_user}","gists_url":"https://api.github.com/users/koolhead17/gists{/gist_id}","starred_url":"https://api.github.com/users/koolhead17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koolhead17/subscriptions","organizations_url":"https://api.github.com/users/koolhead17/orgs","repos_url":"https://api.github.com/users/koolhead17/repos","events_url":"https://api.github.com/users/koolhead17/events{/privacy}","received_events_url":"https://api.github.com/users/koolhead17/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-11-10T20:31:46Z","updated_at":"2016-11-11T04:00:39Z","closed_at":null,"body":"Apologies if I missed something trivial, but with current `minio/minio:latest`, container logs show the startup message but no activity whatsoever. Requests are not logged, and when a client gets a 403 there is no trace of that.\r\n\r\nI've modified `/root/.minio/config.json` to set the level of `console` to `debug`.\r\n\r\n## Expected Behavior\r\nThis being a docker image it should log to stdout.\r\nI'd expect HTTP services to have access logging, and log causes for 403 and 500.\r\n\r\n## Current Behavior\r\nNo log activity except the startup message.\r\n\r\n## Your Environment\r\n* Version used:  minio/minio@sha256:0454788c12253ec94657a7af220ce39ee622a94549c1f36e6aaefdbf2cba0e70\r\n* Environment name and version: docker 1.12.3\r\n"},"comment":{"url":"https://api.github.com/repos/minio/minio/issues/comments/259875847","html_url":"https://github.com/minio/minio/issues/3241#issuecomment-259875847","issue_url":"https://api.github.com/repos/minio/minio/issues/3241","id":259875847,"user":{"login":"harshavardhana","id":622699,"avatar_url":"https://avatars.githubusercontent.com/u/622699?v=3","gravatar_id":"","url":"https://api.github.com/users/harshavardhana","html_url":"https://github.com/harshavardhana","followers_url":"https://api.github.com/users/harshavardhana/followers","following_url":"https://api.github.com/users/harshavardhana/following{/other_user}","gists_url":"https://api.github.com/users/harshavardhana/gists{/gist_id}","starred_url":"https://api.github.com/users/harshavardhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshavardhana/subscriptions","organizations_url":"https://api.github.com/users/harshavardhana/orgs","repos_url":"https://api.github.com/users/harshavardhana/repos","events_url":"https://api.github.com/users/harshavardhana/events{/privacy}","received_events_url":"https://api.github.com/users/harshavardhana/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T04:00:39Z","updated_at":"2016-11-11T04:00:39Z","body":"> However, I think this principle goes against common practice. It is all but impossible to know beforehand what is sufficient information to debug a problem. We therefore log all significant events at an appropriate level, and provide enough information (subsystem names, request identifiers...) for that data to be filtered. With log output in json and today's tools, that filtering has become a relatively pleasant task. Access logging is commonly at the INFO level.\r\n\r\nYou can enable `logger.console.level` as 'error' by default only fatal messages are printed.   Some logging concerns are addressed in the latest master as well i.e \"minio/minio:edge\" \r\n\r\nBut we are not going to do access logs, instead we have implemented Bucket notifications which you can listen on as the objects come in. That way you get more richer information than a server log and it can also be controlled programmatically - https://docs.minio.io/docs/golang-client-api-reference#ListenBucketNotification\r\n"}}
{"actor":{"display_login":"harshavardhana"}}