{"action":"created","issue":{"url":"https://api.github.com/repos/eggjs/egg/issues/2678","repository_url":"https://api.github.com/repos/eggjs/egg","labels_url":"https://api.github.com/repos/eggjs/egg/issues/2678/labels{/name}","comments_url":"https://api.github.com/repos/eggjs/egg/issues/2678/comments","events_url":"https://api.github.com/repos/eggjs/egg/issues/2678/events","html_url":"https://github.com/eggjs/egg/issues/2678","id":331155322,"node_id":"MDU6SXNzdWUzMzExNTUzMjI=","number":2678,"title":"生产环境80端口启动，无法打印日志","user":{"login":"inmWang","id":20293919,"node_id":"MDQ6VXNlcjIwMjkzOTE5","avatar_url":"https://avatars1.githubusercontent.com/u/20293919?v=4","gravatar_id":"","url":"https://api.github.com/users/inmWang","html_url":"https://github.com/inmWang","followers_url":"https://api.github.com/users/inmWang/followers","following_url":"https://api.github.com/users/inmWang/following{/other_user}","gists_url":"https://api.github.com/users/inmWang/gists{/gist_id}","starred_url":"https://api.github.com/users/inmWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inmWang/subscriptions","organizations_url":"https://api.github.com/users/inmWang/orgs","repos_url":"https://api.github.com/users/inmWang/repos","events_url":"https://api.github.com/users/inmWang/events{/privacy}","received_events_url":"https://api.github.com/users/inmWang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-11T11:46:57Z","updated_at":"2018-06-11T11:46:58Z","closed_at":null,"author_association":"NONE","body":"controller文件打印日志：\r\nctx.logger.error('test logger error');\r\n\r\nconfig.default.js 配置：\r\nconfig.logger = {\r\n    level: 'DEBUG',\r\n  };\r\n\r\npackage.json配置：\r\n\"start\": \"egg-scripts start --port=80 --daemon --title=egg-server-cp-h5\"\r\n\r\n执行sudo npm run start后，日志文件没有内容。日志文件的权限为-rw-rw-r--\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/eggjs/egg/issues/comments/396215661","html_url":"https://github.com/eggjs/egg/issues/2678#issuecomment-396215661","issue_url":"https://api.github.com/repos/eggjs/egg/issues/2678","id":396215661,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjIxNTY2MQ==","user":{"login":"egg-bot","id":38289774,"node_id":"MDQ6VXNlcjM4Mjg5Nzc0","avatar_url":"https://avatars1.githubusercontent.com/u/38289774?v=4","gravatar_id":"","url":"https://api.github.com/users/egg-bot","html_url":"https://github.com/egg-bot","followers_url":"https://api.github.com/users/egg-bot/followers","following_url":"https://api.github.com/users/egg-bot/following{/other_user}","gists_url":"https://api.github.com/users/egg-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/egg-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egg-bot/subscriptions","organizations_url":"https://api.github.com/users/egg-bot/orgs","repos_url":"https://api.github.com/users/egg-bot/repos","events_url":"https://api.github.com/users/egg-bot/events{/privacy}","received_events_url":"https://api.github.com/users/egg-bot/received_events","type":"User","site_admin":false},"created_at":"2018-06-11T11:46:58Z","updated_at":"2018-06-11T11:46:58Z","author_association":"NONE","body":"Translation of this issue:\n\n<hr/>\n\n## 80 port of the production environment is started and the log cannot be printed\n\nController file print log:\r\nCtx.logger.error('test logger error');\r\n\r\nConfig.default.js configuration:\r\nConfig.logger = {\r\n    Level: 'DEBUG',\r\n  };\r\n\r\nPackage.json configuration:\r\n\"start\": \"egg-scripts start --port=80 --daemon --title=egg-server-cp-h5\"\r\n\r\nAfter executing sudo npm run start, the log file has no content. The permission of the log file is -rw-rw-r--"}}
{"actor":{"display_login":"egg-bot"}}