{"action":"created","comment":{"url":"https://api.github.com/repos/Stratoscale/pycommonlog/pulls/comments/65250531","id":65250531,"diff_hunk":"@@ -33,17 +37,25 @@\n     \"\\033[2;36m\",\n )\n COLOR_OFF = \"\\033[0;0m\"\n+LOG_CONFIG_FILE_PATH = \"/etc/stratoscale/strato-log.conf\"\n+HIGHEST_PRIORITY = 0\n \n class Formatter:\n     _COLORS = {logging.PROGRESS: CYAN, logging.ERROR: RED, logging.WARNING: YELLOW}\n \n     converter = time.gmtime\n \n     def __init__(self, relativeTime, withThreads, showFullPaths, noDebug, microsecondPrecision, noColors, localTime=False):\n+        try:\n+            self.configFile = yaml.load(open(LOG_CONFIG_FILE_PATH, 'r').read())\n+        except:","path":"py/strato/common/log/log2text.py","position":27,"original_position":27,"commit_id":"301fe62c1e9e366308f1b08c961691c90bdfab4c","original_commit_id":"4410eff5ba4d2f3f80dee584a4679bfb6aa11fea","user":{"login":"rom-stratoscale","id":5699571,"avatar_url":"https://avatars.githubusercontent.com/u/5699571?v=3","gravatar_id":"","url":"https://api.github.com/users/rom-stratoscale","html_url":"https://github.com/rom-stratoscale","followers_url":"https://api.github.com/users/rom-stratoscale/followers","following_url":"https://api.github.com/users/rom-stratoscale/following{/other_user}","gists_url":"https://api.github.com/users/rom-stratoscale/gists{/gist_id}","starred_url":"https://api.github.com/users/rom-stratoscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rom-stratoscale/subscriptions","organizations_url":"https://api.github.com/users/rom-stratoscale/orgs","repos_url":"https://api.github.com/users/rom-stratoscale/repos","events_url":"https://api.github.com/users/rom-stratoscale/events{/privacy}","received_events_url":"https://api.github.com/users/rom-stratoscale/received_events","type":"User","site_admin":false},"body":"Did u try it?","created_at":"2016-05-31T19:51:49Z","updated_at":"2016-05-31T19:51:49Z","html_url":"https://github.com/Stratoscale/pycommonlog/pull/11#discussion_r65250531","pull_request_url":"https://api.github.com/repos/Stratoscale/pycommonlog/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/Stratoscale/pycommonlog/pulls/comments/65250531"},"html":{"href":"https://github.com/Stratoscale/pycommonlog/pull/11#discussion_r65250531"},"pull_request":{"href":"https://api.github.com/repos/Stratoscale/pycommonlog/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/Stratoscale/pycommonlog/pulls/11","id":71819408,"html_url":"https://github.com/Stratoscale/pycommonlog/pull/11","diff_url":"https://github.com/Stratoscale/pycommonlog/pull/11.diff","patch_url":"https://github.com/Stratoscale/pycommonlog/pull/11.patch","issue_url":"https://api.github.com/repos/Stratoscale/pycommonlog/issues/11","number":11,"state":"open","locked":false,"title":"strato-log REVIEW ONLY; DON'T PUSH","user":{"login":"sergey-stratoscale","id":12480622,"avatar_url":"https://avatars.githubusercontent.com/u/12480622?v=3","gravatar_id":"","url":"https://api.github.com/users/sergey-stratoscale","html_url":"https://github.com/sergey-stratoscale","followers_url":"https://api.github.com/users/sergey-stratoscale/followers","following_url":"https://api.github.com/users/sergey-stratoscale/following{/other_user}","gists_url":"https://api.github.com/users/sergey-stratoscale/gists{/gist_id}","starred_url":"https://api.github.com/users/sergey-stratoscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergey-stratoscale/subscriptions","organizations_url":"https://api.github.com/users/sergey-stratoscale/orgs","repos_url":"https://api.github.com/users/sergey-stratoscale/repos","events_url":"https://api.github.com/users/sergey-stratoscale/events{/privacy}","received_events_url":"https://api.github.com/users/sergey-stratoscale/received_events","type":"User","site_admin":false},"body":"@Stratoscale/systegration PR\r\nissues/missing features:\r\n1. installation (will be provided via loggingtools repo)\r\n2. some cleanup needed (here, as well as in monkey) due to migration of exceptionfinder\r\n3. missing log formats in config file\r\n4. if reading exception.log file with other logs, the name of some files might be displayed with the same color","created_at":"2016-05-29T06:18:15Z","updated_at":"2016-05-31T19:51:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"095809d3644f76c9a32998e30564a71031a9aff7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Stratoscale/pycommonlog/pulls/11/commits","review_comments_url":"https://api.github.com/repos/Stratoscale/pycommonlog/pulls/11/comments","review_comment_url":"https://api.github.com/repos/Stratoscale/pycommonlog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Stratoscale/pycommonlog/issues/11/comments","statuses_url":"https://api.github.com/repos/Stratoscale/pycommonlog/statuses/301fe62c1e9e366308f1b08c961691c90bdfab4c","head":{"label":"Stratoscale:sergey/strato-log","ref":"sergey/strato-log","sha":"301fe62c1e9e366308f1b08c961691c90bdfab4c","user":{"login":"Stratoscale","id":4893243,"avatar_url":"https://avatars.githubusercontent.com/u/4893243?v=3","gravatar_id":"","url":"https://api.github.com/users/Stratoscale","html_url":"https://github.com/Stratoscale","followers_url":"https://api.github.com/users/Stratoscale/followers","following_url":"https://api.github.com/users/Stratoscale/following{/other_user}","gists_url":"https://api.github.com/users/Stratoscale/gists{/gist_id}","starred_url":"https://api.github.com/users/Stratoscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stratoscale/subscriptions","organizations_url":"https://api.github.com/users/Stratoscale/orgs","repos_url":"https://api.github.com/users/Stratoscale/repos","events_url":"https://api.github.com/users/Stratoscale/events{/privacy}","received_events_url":"https://api.github.com/users/Stratoscale/received_events","type":"Organization","site_admin":false},"repo":{"id":19529590,"name":"pycommonlog","full_name":"Stratoscale/pycommonlog","owner":{"login":"Stratoscale","id":4893243,"avatar_url":"https://avatars.githubusercontent.com/u/4893243?v=3","gravatar_id":"","url":"https://api.github.com/users/Stratoscale","html_url":"https://github.com/Stratoscale","followers_url":"https://api.github.com/users/Stratoscale/followers","following_url":"https://api.github.com/users/Stratoscale/following{/other_user}","gists_url":"https://api.github.com/users/Stratoscale/gists{/gist_id}","starred_url":"https://api.github.com/users/Stratoscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stratoscale/subscriptions","organizations_url":"https://api.github.com/users/Stratoscale/orgs","repos_url":"https://api.github.com/users/Stratoscale/repos","events_url":"https://api.github.com/users/Stratoscale/events{/privacy}","received_events_url":"https://api.github.com/users/Stratoscale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Stratoscale/pycommonlog","description":"logging infrastructure for python programs","fork":false,"url":"https://api.github.com/repos/Stratoscale/pycommonlog","forks_url":"https://api.github.com/repos/Stratoscale/pycommonlog/forks","keys_url":"https://api.github.com/repos/Stratoscale/pycommonlog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Stratoscale/pycommonlog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Stratoscale/pycommonlog/teams","hooks_url":"https://api.github.com/repos/Stratoscale/pycommonlog/hooks","issue_events_url":"https://api.github.com/repos/Stratoscale/pycommonlog/issues/events{/number}","events_url":"https://api.github.com/repos/Stratoscale/pycommonlog/events","assignees_url":"https://api.github.com/repos/Stratoscale/pycommonlog/assignees{/user}","branches_url":"https://api.github.com/repos/Stratoscale/pycommonlog/branches{/branch}","tags_url":"https://api.github.com/repos/Stratoscale/pycommonlog/tags","blobs_url":"https://api.github.com/repos/Stratoscale/pycommonlog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Stratoscale/pycommonlog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Stratoscale/pycommonlog/git/refs{/sha}","trees_url":"https://api.github.com/repos/Stratoscale/pycommonlog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Stratoscale/pycommonlog/statuses/{sha}","languages_url":"https://api.github.com/repos/Stratoscale/pycommonlog/languages","stargazers_url":"https://api.github.com/repos/Stratoscale/pycommonlog/stargazers","contributors_url":"https://api.github.com/repos/Stratoscale/pycommonlog/contributors","subscribers_url":"https://api.github.com/repos/Stratoscale/pycommonlog/subscribers","subscription_url":"https://api.github.com/repos/Stratoscale/pycommonlog/subscription","commits_url":"https://api.github.com/repos/Stratoscale/pycommonlog/commits{/sha}","git_commits_url":"https://api.github.com/repos/Stratoscale/pycommonlog/git/commits{/sha}","comments_url":"https://api.github.com/repos/Stratoscale/pycommonlog/comments{/number}","issue_comment_url":"https://api.github.com/repos/Stratoscale/pycommonlog/issues/comments{/number}","contents_url":"https://api.github.com/repos/Stratoscale/pycommonlog/contents/{+path}","compare_url":"https://api.github.com/repos/Stratoscale/pycommonlog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Stratoscale/pycommonlog/merges","archive_url":"https://api.github.com/repos/Stratoscale/pycommonlog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Stratoscale/pycommonlog/downloads","issues_url":"https://api.github.com/repos/Stratoscale/pycommonlog/issues{/number}","pulls_url":"https://api.github.com/repos/Stratoscale/pycommonlog/pulls{/number}","milestones_url":"https://api.github.com/repos/Stratoscale/pycommonlog/milestones{/number}","notifications_url":"https://api.github.com/repos/Stratoscale/pycommonlog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Stratoscale/pycommonlog/labels{/name}","releases_url":"https://api.github.com/repos/Stratoscale/pycommonlog/releases{/id}","deployments_url":"https://api.github.com/repos/Stratoscale/pycommonlog/deployments","created_at":"2014-05-07T10:03:11Z","updated_at":"2016-04-24T14:00:20Z","pushed_at":"2016-05-31T17:56:59Z","git_url":"git://github.com/Stratoscale/pycommonlog.git","ssh_url":"git@github.com:Stratoscale/pycommonlog.git","clone_url":"https://github.com/Stratoscale/pycommonlog.git","svn_url":"https://github.com/Stratoscale/pycommonlog","homepage":null,"size":258,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Stratoscale:master","ref":"master","sha":"0dc499f006151455ec922b3e3d63420d9097e283","user":{"login":"Stratoscale","id":4893243,"avatar_url":"https://avatars.githubusercontent.com/u/4893243?v=3","gravatar_id":"","url":"https://api.github.com/users/Stratoscale","html_url":"https://github.com/Stratoscale","followers_url":"https://api.github.com/users/Stratoscale/followers","following_url":"https://api.github.com/users/Stratoscale/following{/other_user}","gists_url":"https://api.github.com/users/Stratoscale/gists{/gist_id}","starred_url":"https://api.github.com/users/Stratoscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stratoscale/subscriptions","organizations_url":"https://api.github.com/users/Stratoscale/orgs","repos_url":"https://api.github.com/users/Stratoscale/repos","events_url":"https://api.github.com/users/Stratoscale/events{/privacy}","received_events_url":"https://api.github.com/users/Stratoscale/received_events","type":"Organization","site_admin":false},"repo":{"id":19529590,"name":"pycommonlog","full_name":"Stratoscale/pycommonlog","owner":{"login":"Stratoscale","id":4893243,"avatar_url":"https://avatars.githubusercontent.com/u/4893243?v=3","gravatar_id":"","url":"https://api.github.com/users/Stratoscale","html_url":"https://github.com/Stratoscale","followers_url":"https://api.github.com/users/Stratoscale/followers","following_url":"https://api.github.com/users/Stratoscale/following{/other_user}","gists_url":"https://api.github.com/users/Stratoscale/gists{/gist_id}","starred_url":"https://api.github.com/users/Stratoscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stratoscale/subscriptions","organizations_url":"https://api.github.com/users/Stratoscale/orgs","repos_url":"https://api.github.com/users/Stratoscale/repos","events_url":"https://api.github.com/users/Stratoscale/events{/privacy}","received_events_url":"https://api.github.com/users/Stratoscale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Stratoscale/pycommonlog","description":"logging infrastructure for python programs","fork":false,"url":"https://api.github.com/repos/Stratoscale/pycommonlog","forks_url":"https://api.github.com/repos/Stratoscale/pycommonlog/forks","keys_url":"https://api.github.com/repos/Stratoscale/pycommonlog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Stratoscale/pycommonlog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Stratoscale/pycommonlog/teams","hooks_url":"https://api.github.com/repos/Stratoscale/pycommonlog/hooks","issue_events_url":"https://api.github.com/repos/Stratoscale/pycommonlog/issues/events{/number}","events_url":"https://api.github.com/repos/Stratoscale/pycommonlog/events","assignees_url":"https://api.github.com/repos/Stratoscale/pycommonlog/assignees{/user}","branches_url":"https://api.github.com/repos/Stratoscale/pycommonlog/branches{/branch}","tags_url":"https://api.github.com/repos/Stratoscale/pycommonlog/tags","blobs_url":"https://api.github.com/repos/Stratoscale/pycommonlog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Stratoscale/pycommonlog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Stratoscale/pycommonlog/git/refs{/sha}","trees_url":"https://api.github.com/repos/Stratoscale/pycommonlog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Stratoscale/pycommonlog/statuses/{sha}","languages_url":"https://api.github.com/repos/Stratoscale/pycommonlog/languages","stargazers_url":"https://api.github.com/repos/Stratoscale/pycommonlog/stargazers","contributors_url":"https://api.github.com/repos/Stratoscale/pycommonlog/contributors","subscribers_url":"https://api.github.com/repos/Stratoscale/pycommonlog/subscribers","subscription_url":"https://api.github.com/repos/Stratoscale/pycommonlog/subscription","commits_url":"https://api.github.com/repos/Stratoscale/pycommonlog/commits{/sha}","git_commits_url":"https://api.github.com/repos/Stratoscale/pycommonlog/git/commits{/sha}","comments_url":"https://api.github.com/repos/Stratoscale/pycommonlog/comments{/number}","issue_comment_url":"https://api.github.com/repos/Stratoscale/pycommonlog/issues/comments{/number}","contents_url":"https://api.github.com/repos/Stratoscale/pycommonlog/contents/{+path}","compare_url":"https://api.github.com/repos/Stratoscale/pycommonlog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Stratoscale/pycommonlog/merges","archive_url":"https://api.github.com/repos/Stratoscale/pycommonlog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Stratoscale/pycommonlog/downloads","issues_url":"https://api.github.com/repos/Stratoscale/pycommonlog/issues{/number}","pulls_url":"https://api.github.com/repos/Stratoscale/pycommonlog/pulls{/number}","milestones_url":"https://api.github.com/repos/Stratoscale/pycommonlog/milestones{/number}","notifications_url":"https://api.github.com/repos/Stratoscale/pycommonlog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Stratoscale/pycommonlog/labels{/name}","releases_url":"https://api.github.com/repos/Stratoscale/pycommonlog/releases{/id}","deployments_url":"https://api.github.com/repos/Stratoscale/pycommonlog/deployments","created_at":"2014-05-07T10:03:11Z","updated_at":"2016-04-24T14:00:20Z","pushed_at":"2016-05-31T17:56:59Z","git_url":"git://github.com/Stratoscale/pycommonlog.git","ssh_url":"git@github.com:Stratoscale/pycommonlog.git","clone_url":"https://github.com/Stratoscale/pycommonlog.git","svn_url":"https://github.com/Stratoscale/pycommonlog","homepage":null,"size":258,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Stratoscale/pycommonlog/pulls/11"},"html":{"href":"https://github.com/Stratoscale/pycommonlog/pull/11"},"issue":{"href":"https://api.github.com/repos/Stratoscale/pycommonlog/issues/11"},"comments":{"href":"https://api.github.com/repos/Stratoscale/pycommonlog/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/Stratoscale/pycommonlog/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/Stratoscale/pycommonlog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Stratoscale/pycommonlog/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/Stratoscale/pycommonlog/statuses/301fe62c1e9e366308f1b08c961691c90bdfab4c"}}}}
{"actor":{"display_login":"rom-stratoscale"}}