{"action":"created","issue":{"url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2319","labels_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2319/labels{/name}","comments_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2319/comments","events_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2319/events","html_url":"https://github.com/DIRACGrid/DIRAC/pull/2319","id":64765113,"number":2319,"title":"[v6r14] Pilot logger first part","user":{"login":"wkrzemien","id":11519095,"avatar_url":"https://avatars.githubusercontent.com/u/11519095?v=3","gravatar_id":"","url":"https://api.github.com/users/wkrzemien","html_url":"https://github.com/wkrzemien","followers_url":"https://api.github.com/users/wkrzemien/followers","following_url":"https://api.github.com/users/wkrzemien/following{/other_user}","gists_url":"https://api.github.com/users/wkrzemien/gists{/gist_id}","starred_url":"https://api.github.com/users/wkrzemien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkrzemien/subscriptions","organizations_url":"https://api.github.com/users/wkrzemien/orgs","repos_url":"https://api.github.com/users/wkrzemien/repos","events_url":"https://api.github.com/users/wkrzemien/events{/privacy}","received_events_url":"https://api.github.com/users/wkrzemien/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-27T13:47:18Z","updated_at":"2015-03-27T14:20:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2319","html_url":"https://github.com/DIRACGrid/DIRAC/pull/2319","diff_url":"https://github.com/DIRACGrid/DIRAC/pull/2319.diff","patch_url":"https://github.com/DIRACGrid/DIRAC/pull/2319.patch"},"body":"This is a first part of the pilot loggins system\r\nPilotLogger is used in the extended version (ExtendedLogger) of the Logger class, which is used by the pilot commands.  The PilotLogger is by default off and the ExtendedLogger acts in exactly the same manner as the original Logger class.\r\nThe PilotLogger  can send messages about the current status of the installation/configuration etc. to RabbitMQ server from which it will be retrieved by the consumer process and stored into Pilot DB\r\nThe messages contain timestamps, status information and the pilotUUID (not pilotID!) by which we can identify even pilots which dont have the pilotID assigned.\r\nIn addition, the PilotLogger is storing some the messages locally just before checking the connection to the RabbitMQ server, if the connection is down, the messages are queued if the connection is back the whole set of messages are sent."},"comment":{"url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/comments/86954852","html_url":"https://github.com/DIRACGrid/DIRAC/pull/2319#issuecomment-86954852","issue_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2319","id":86954852,"user":{"login":"sposs","id":772003,"avatar_url":"https://avatars.githubusercontent.com/u/772003?v=3","gravatar_id":"","url":"https://api.github.com/users/sposs","html_url":"https://github.com/sposs","followers_url":"https://api.github.com/users/sposs/followers","following_url":"https://api.github.com/users/sposs/following{/other_user}","gists_url":"https://api.github.com/users/sposs/gists{/gist_id}","starred_url":"https://api.github.com/users/sposs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sposs/subscriptions","organizations_url":"https://api.github.com/users/sposs/orgs","repos_url":"https://api.github.com/users/sposs/repos","events_url":"https://api.github.com/users/sposs/events{/privacy}","received_events_url":"https://api.github.com/users/sposs/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T14:20:59Z","updated_at":"2015-03-27T14:20:59Z","body":"Just a comment: Zero MQ offers a lighter interface for an equivalent result... It does not require a Rabbit MQ server."}}