{"action":"created","issue":{"url":"https://api.github.com/repos/Neilpang/acme.sh/issues/417","repository_url":"https://api.github.com/repos/Neilpang/acme.sh","labels_url":"https://api.github.com/repos/Neilpang/acme.sh/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/Neilpang/acme.sh/issues/417/comments","events_url":"https://api.github.com/repos/Neilpang/acme.sh/issues/417/events","html_url":"https://github.com/Neilpang/acme.sh/issues/417","id":191262830,"number":417,"title":"Installing crontab with logfile","user":{"login":"wizonesolutions","id":344116,"avatar_url":"https://avatars.githubusercontent.com/u/344116?v=3","gravatar_id":"","url":"https://api.github.com/users/wizonesolutions","html_url":"https://github.com/wizonesolutions","followers_url":"https://api.github.com/users/wizonesolutions/followers","following_url":"https://api.github.com/users/wizonesolutions/following{/other_user}","gists_url":"https://api.github.com/users/wizonesolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/wizonesolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizonesolutions/subscriptions","organizations_url":"https://api.github.com/users/wizonesolutions/orgs","repos_url":"https://api.github.com/users/wizonesolutions/repos","events_url":"https://api.github.com/users/wizonesolutions/events{/privacy}","received_events_url":"https://api.github.com/users/wizonesolutions/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-23T12:52:20Z","updated_at":"2016-11-23T12:59:05Z","closed_at":null,"body":"Is it possible to install a crontab that redirects to a log file instead of `/dev/null`? I don't see an install option for this."},"comment":{"url":"https://api.github.com/repos/Neilpang/acme.sh/issues/comments/262506316","html_url":"https://github.com/Neilpang/acme.sh/issues/417#issuecomment-262506316","issue_url":"https://api.github.com/repos/Neilpang/acme.sh/issues/417","id":262506316,"user":{"login":"Neilpang","id":8305679,"avatar_url":"https://avatars.githubusercontent.com/u/8305679?v=3","gravatar_id":"","url":"https://api.github.com/users/Neilpang","html_url":"https://github.com/Neilpang","followers_url":"https://api.github.com/users/Neilpang/followers","following_url":"https://api.github.com/users/Neilpang/following{/other_user}","gists_url":"https://api.github.com/users/Neilpang/gists{/gist_id}","starred_url":"https://api.github.com/users/Neilpang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neilpang/subscriptions","organizations_url":"https://api.github.com/users/Neilpang/orgs","repos_url":"https://api.github.com/users/Neilpang/repos","events_url":"https://api.github.com/users/Neilpang/events{/privacy}","received_events_url":"https://api.github.com/users/Neilpang/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T12:59:05Z","updated_at":"2016-11-23T12:59:05Z","body":"Yes,  you don't need to care about the `>/dev/null` in the cron job.  we have `--log` option.\r\n\r\nYou just need to install/upgrade with `--log` option.\r\n\r\nThis will turn on the logging in future, the default log file is: `~/.acme.sh/acme.sh.log`\r\n```\r\nacme.sh  --upgrade   --log\r\n```\r\n\r\nIf you can also specify a custom log file:\r\n\r\n```\r\nacme.sh  --upgrade  --log   /path/to/my.log\r\n```\r\n\r\nWe also have `--log-level`\r\n\r\n```\r\nacme.sh  --upgrade  --log     --log-level 2\r\n```\r\n\r\n\r\nThe `--log` option can be used in any command, such as `--issue` , `--renew` etc, not only `--upgrade`.\r\n\r\n\r\n"}}
{"actor":{"display_login":"Neilpang"}}