{"action":"created","issue":{"url":"https://api.github.com/repos/xDrivenDevelopment/precommit1c/issues/59","labels_url":"https://api.github.com/repos/xDrivenDevelopment/precommit1c/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/xDrivenDevelopment/precommit1c/issues/59/comments","events_url":"https://api.github.com/repos/xDrivenDevelopment/precommit1c/issues/59/events","html_url":"https://github.com/xDrivenDevelopment/precommit1c/issues/59","id":119192905,"number":59,"title":"Добавить логирование в файл","user":{"login":"artbear","id":2920817,"avatar_url":"https://avatars.githubusercontent.com/u/2920817?v=3","gravatar_id":"","url":"https://api.github.com/users/artbear","html_url":"https://github.com/artbear","followers_url":"https://api.github.com/users/artbear/followers","following_url":"https://api.github.com/users/artbear/following{/other_user}","gists_url":"https://api.github.com/users/artbear/gists{/gist_id}","starred_url":"https://api.github.com/users/artbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artbear/subscriptions","organizations_url":"https://api.github.com/users/artbear/orgs","repos_url":"https://api.github.com/users/artbear/repos","events_url":"https://api.github.com/users/artbear/events{/privacy}","received_events_url":"https://api.github.com/users/artbear/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xDrivenDevelopment/precommit1c/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/xDrivenDevelopment/precommit1c/labels/oscript-port","name":"oscript-port","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-11-27T13:02:23Z","updated_at":"2015-11-27T17:24:14Z","closed_at":null,"body":"Нужно добавить вывод логов в лог-файл.\r\nИначе при коммите непонятно, что происходит.\r\n\r\nНапример, у меня по какой-то причине стал зависать коммит репозитария, в котором есть и исходники конфигурации 1С, и исходники внешних файлов, и precommit1c подключен в качестве хука к этому репозитарию. Коммит выполняется через наш библиотечный скрипт gitsync\r\n\r\nПо диспетчеру задач я вижу, что висит именно запущенный `v8files-extractor.os`, но на каком этапе произошла ошибка, непонятно :(\r\n\r\nДля анализа проблемы нужен хотя бы лог."},"comment":{"url":"https://api.github.com/repos/xDrivenDevelopment/precommit1c/issues/comments/160179416","html_url":"https://github.com/xDrivenDevelopment/precommit1c/issues/59#issuecomment-160179416","issue_url":"https://api.github.com/repos/xDrivenDevelopment/precommit1c/issues/59","id":160179416,"user":{"login":"artbear","id":2920817,"avatar_url":"https://avatars.githubusercontent.com/u/2920817?v=3","gravatar_id":"","url":"https://api.github.com/users/artbear","html_url":"https://github.com/artbear","followers_url":"https://api.github.com/users/artbear/followers","following_url":"https://api.github.com/users/artbear/following{/other_user}","gists_url":"https://api.github.com/users/artbear/gists{/gist_id}","starred_url":"https://api.github.com/users/artbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artbear/subscriptions","organizations_url":"https://api.github.com/users/artbear/orgs","repos_url":"https://api.github.com/users/artbear/repos","events_url":"https://api.github.com/users/artbear/events{/privacy}","received_events_url":"https://api.github.com/users/artbear/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T17:24:14Z","updated_at":"2015-11-27T17:24:14Z","body":">Какое-нибудь шаманство вроде `echo < cmd.exe /C \"git commit\"`  тоже не сработало? \r\nЗабыл уточнить, что проблема наблюдается при запуске на билд-агенте ТимСити.\r\nПри запуске батника из командной строки проблем нет :(\r\n\r\nПопробовал и это шаманство, и вывод через конвейер `git commit | type` или `git commit | echo`\r\nне помогает, сообщения от хука при запуске на билд-агенте не показываются никак"}}