{"action":"closed","issue":{"url":"https://api.github.com/repos/Norconex/collector-http/issues/50","labels_url":"https://api.github.com/repos/Norconex/collector-http/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/Norconex/collector-http/issues/50/comments","events_url":"https://api.github.com/repos/Norconex/collector-http/issues/50/events","html_url":"https://github.com/Norconex/collector-http/issues/50","id":55478228,"number":50,"title":"Collector's Log file name format","user":{"login":"AntonioAmore","id":7804074,"avatar_url":"https://avatars.githubusercontent.com/u/7804074?v=3","gravatar_id":"","url":"https://api.github.com/users/AntonioAmore","html_url":"https://github.com/AntonioAmore","followers_url":"https://api.github.com/users/AntonioAmore/followers","following_url":"https://api.github.com/users/AntonioAmore/following{/other_user}","gists_url":"https://api.github.com/users/AntonioAmore/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonioAmore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonioAmore/subscriptions","organizations_url":"https://api.github.com/users/AntonioAmore/orgs","repos_url":"https://api.github.com/users/AntonioAmore/repos","events_url":"https://api.github.com/users/AntonioAmore/events{/privacy}","received_events_url":"https://api.github.com/users/AntonioAmore/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Norconex/collector-http/labels/question","name":"question","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-26T12:45:00Z","updated_at":"2015-01-27T18:29:16Z","closed_at":"2015-01-27T18:29:16Z","body":"Please find here as some question related to log, as my feedback after first using collector 2.*. I don't expect all things I noted here be classified as bugs or feature requests, and hope my experience help to increase collector-http's usability, make it more \"friendly\".\r\n\r\nTo automate some processes I'd like to read and parse collector's logs to control how processes are run.\r\n\r\nI found the case, when crawler failed to init (I know that's normal when it is not starting if, for example, importer or committer isn't set correctly),  collector doesn't create/update workdir, including logs so the automation is unable to detect the collector haven't started at all. Or it is getting logs of previous successful launch so I can make mistakes when control running collector's instances. Is there a chance to detect had the collector launched at all automatically? How can I catch such rare, but real cases?\r\n\r\nLet's continue :)\r\n\r\nI found collector's logs at dir .../${workdir}/logs/latest/logs/ . Last \"logs\" path's part appeared after update to 2.* branch. You may keep the path as you like  but on my opinion it is senseless - already have a dir \"logs\" at one level upper.\r\n\r\nI expected log have ${crawlerId}.log name format, but, for example, if crawler id is site.com_rss then the log file name is site.com_95_rss.log. Where 95 comes from? What is this?\r\n\r\nMay you tell me how to recognize crawler's latest log? May I build log name only having ${crawlerId} variable without listing .../latest/logs/ directory?\r\n\r\nThanks a lot for you help."}}