{"action":"opened","issue":{"url":"https://api.github.com/repos/AVnu/Open-AVB/issues/389","repository_url":"https://api.github.com/repos/AVnu/Open-AVB","labels_url":"https://api.github.com/repos/AVnu/Open-AVB/issues/389/labels{/name}","comments_url":"https://api.github.com/repos/AVnu/Open-AVB/issues/389/comments","events_url":"https://api.github.com/repos/AVnu/Open-AVB/issues/389/events","html_url":"https://github.com/AVnu/Open-AVB/issues/389","id":153297276,"number":389,"title":"gPTP Message Logging","user":{"login":"pinealservo","id":1038011,"avatar_url":"https://avatars.githubusercontent.com/u/1038011?v=3","gravatar_id":"","url":"https://api.github.com/users/pinealservo","html_url":"https://github.com/pinealservo","followers_url":"https://api.github.com/users/pinealservo/followers","following_url":"https://api.github.com/users/pinealservo/following{/other_user}","gists_url":"https://api.github.com/users/pinealservo/gists{/gist_id}","starred_url":"https://api.github.com/users/pinealservo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinealservo/subscriptions","organizations_url":"https://api.github.com/users/pinealservo/orgs","repos_url":"https://api.github.com/users/pinealservo/repos","events_url":"https://api.github.com/users/pinealservo/events{/privacy}","received_events_url":"https://api.github.com/users/pinealservo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AVnu/Open-AVB/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/AVnu/Open-AVB/labels/gPTP","name":"gPTP","color":"006b75"},{"url":"https://api.github.com/repos/AVnu/Open-AVB/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-05T18:48:01Z","updated_at":"2016-05-05T18:48:01Z","closed_at":null,"body":"When the automotive profile work was started, debug output was still printed via raw printfs. The authors of that work created a multi-level log interface and re-targeted all the debug output to the new interface. Meanwhile, the printfs were replaced in the main development line with a different log/debug interface.\r\n\r\nMy merge of the two still has both log interfaces, but we should probably consolidate to one of them.\r\n\r\nThe `open-avb-next` interface is here: https://github.com/AVnu/Open-AVB/blob/open-avb-next/daemons/gptp/linux/src/debugout.hpp and https://github.com/AVnu/Open-AVB/blob/open-avb-next/daemons/gptp/windows/daemon_cl/debugout.hpp\r\n\r\nThe `feature-gptp-avnu-automotive-profile` interface is here: https://github.com/AVnu/Open-AVB/blob/feature-gptp-avnu-automotive-profile/daemons/gptp/common/gptp_log.cpp and https://github.com/AVnu/Open-AVB/blob/feature-gptp-avnu-automotive-profile/daemons/gptp/common/gptp_log.hpp\r\n\r\nDoes anyone have any strong feelings about which to use or how to combine them?  I like the formatting and timestamping of the gptpLog function, but it probably needs to be made arch-specific like the current debug print macros are."}}