)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":18575,"name":"Saravanan KR","email":"krsacme@gmail.com","username":"saravanankr"},"change_message_id":"2bc822a2dd2a0354a594cd77b1a0c9f36ca83962","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Configure ODL Logging mechanism"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"ODL logs to either console for containarised deployment and to file"},{"line_number":10,"context_line":"for non-containarised deployment. For containarised deployments, logs"},{"line_number":11,"context_line":"can then be read via \"docker logs\"."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9f91af0f_d5ccd3bd","line":9,"range":{"start_line":9,"start_character":19,"end_line":9,"end_character":55},"updated":"2018-01-05 08:20:27.000000000","message":"Storing the logs in file accumulates the logs of multiple instances of odl container. If for some reason, the odl container is redeployed, the older logs are lost. Is this the expected outcome? \n\nIt would be useful to see those previous logs (crashed or redeployed odl container) in the sosreport. Is there a better way, that I am missing here?","commit_id":"9c04e522593d3680ff71007592c1d495d470ac96"},{"author":{"_account_id":20866,"name":"Janki Chhatbar","email":"jchhatba@redhat.com","username":"janki"},"change_message_id":"b983896a3e3282287a661614560feac18aa2e087","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Configure ODL Logging mechanism"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"ODL logs to either console for containarised deployment and to file"},{"line_number":10,"context_line":"for non-containarised deployment. For containarised deployments, logs"},{"line_number":11,"context_line":"can then be read via \"docker logs\"."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9f91af0f_a5655ce3","line":9,"range":{"start_line":9,"start_character":19,"end_line":9,"end_character":55},"in_reply_to":"9f91af0f_d5ccd3bd","updated":"2018-01-05 12:42:58.000000000","message":"\u003e It would be useful to see those previous logs (crashed or\n \u003e redeployed odl container) in the sosreport. Is there a better way,\n \u003e that I am missing here?\n\nI think journalctl CONTAINER_NAME\u003dopendaylight_api should take care of this. I haven\u0027t tested this. Will do it.","commit_id":"9c04e522593d3680ff71007592c1d495d470ac96"},{"author":{"_account_id":20866,"name":"Janki Chhatbar","email":"jchhatba@redhat.com","username":"janki"},"change_message_id":"d6776f56542a8abd832394f3b9c6f31048adeb11","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Configure ODL Logging mechanism"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"ODL logs to either console for containarised deployment and to file"},{"line_number":10,"context_line":"for non-containarised deployment. For containarised deployments, logs"},{"line_number":11,"context_line":"can then be read via \"docker logs\"."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9f91af0f_06d0d34f","line":9,"range":{"start_line":9,"start_character":19,"end_line":9,"end_character":55},"in_reply_to":"9f91af0f_d5ccd3bd","updated":"2018-01-05 10:54:11.000000000","message":"We have sosreport plugin which reads logs from \"docker logs\". Its PR is open.\nhttps://github.com/sosreport/sos/pull/1171.\n\nNeed to test if it will store logs from previous container.","commit_id":"9c04e522593d3680ff71007592c1d495d470ac96"}],"docker/services/opendaylight-api.yaml":[{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"ab2b0e82516aa26e3a5a78ad2863fb36bb107837","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        config_image: {get_param: DockerOpendaylightConfigImage}"},{"line_number":73,"context_line":"      kolla_config:"},{"line_number":74,"context_line":"        /var/lib/kolla/config_files/opendaylight_api.json:"},{"line_number":75,"context_line":"          command: /opt/opendaylight/bin/karaf server"},{"line_number":76,"context_line":"          config_files:"},{"line_number":77,"context_line":"            - source: \"/var/lib/kolla/config_files/src/*\""},{"line_number":78,"context_line":"              dest: \"/\""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"9f91af0f_92fae172","line":75,"range":{"start_line":75,"start_character":46,"end_line":75,"end_character":53},"updated":"2018-01-05 07:43:19.000000000","message":"is this bit related to the logging (just wondering if it is something else you are also fixing. i couldn\u0027t quickly see how this was relevant looking in https://git.opendaylight.org/gerrit/#/c/66639/ for example)","commit_id":"9c04e522593d3680ff71007592c1d495d470ac96"},{"author":{"_account_id":20866,"name":"Janki Chhatbar","email":"jchhatba@redhat.com","username":"janki"},"change_message_id":"d6776f56542a8abd832394f3b9c6f31048adeb11","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        config_image: {get_param: DockerOpendaylightConfigImage}"},{"line_number":73,"context_line":"      kolla_config:"},{"line_number":74,"context_line":"        /var/lib/kolla/config_files/opendaylight_api.json:"},{"line_number":75,"context_line":"          command: /opt/opendaylight/bin/karaf server"},{"line_number":76,"context_line":"          config_files:"},{"line_number":77,"context_line":"            - source: \"/var/lib/kolla/config_files/src/*\""},{"line_number":78,"context_line":"              dest: \"/\""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"9f91af0f_664bdf58","line":75,"range":{"start_line":75,"start_character":46,"end_line":75,"end_character":53},"in_reply_to":"9f91af0f_92fae172","updated":"2018-01-05 10:54:11.000000000","message":"this means ODL will start in server mode. This mode is needed to make ODL log to console.","commit_id":"9c04e522593d3680ff71007592c1d495d470ac96"},{"author":{"_account_id":8449,"name":"Marios Andreou","email":"marios.andreou@gmail.com","username":"marios"},"change_message_id":"ab2b0e82516aa26e3a5a78ad2863fb36bb107837","unresolved":false,"context_lines":[{"line_number":115,"context_line":"        - name: opendaylight logs readme"},{"line_number":116,"context_line":"          copy:"},{"line_number":117,"context_line":"            dest: /var/log/opendaylight/readme.txt"},{"line_number":118,"context_line":"            content: |"},{"line_number":119,"context_line":"              Logs from opendaylight container can be found by running \"docker logs opendaylight_api\""},{"line_number":120,"context_line":"          ignore_errors: true"},{"line_number":121,"context_line":"      upgrade_tasks:"},{"line_number":122,"context_line":"        - name: Check if opendaylight is deployed"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"9f91af0f_52f45986","line":119,"range":{"start_line":118,"start_character":18,"end_line":119,"end_character":101},"updated":"2018-01-05 07:43:19.000000000","message":"this is a change in default behaviour so maybe worth a release note.","commit_id":"9c04e522593d3680ff71007592c1d495d470ac96"},{"author":{"_account_id":20866,"name":"Janki Chhatbar","email":"jchhatba@redhat.com","username":"janki"},"change_message_id":"d6776f56542a8abd832394f3b9c6f31048adeb11","unresolved":false,"context_lines":[{"line_number":115,"context_line":"        - name: opendaylight logs readme"},{"line_number":116,"context_line":"          copy:"},{"line_number":117,"context_line":"            dest: /var/log/opendaylight/readme.txt"},{"line_number":118,"context_line":"            content: |"},{"line_number":119,"context_line":"              Logs from opendaylight container can be found by running \"docker logs opendaylight_api\""},{"line_number":120,"context_line":"          ignore_errors: true"},{"line_number":121,"context_line":"      upgrade_tasks:"},{"line_number":122,"context_line":"        - name: Check if opendaylight is deployed"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"9f91af0f_a66a47b0","line":119,"range":{"start_line":118,"start_character":18,"end_line":119,"end_character":101},"in_reply_to":"9f91af0f_52f45986","updated":"2018-01-05 10:54:11.000000000","message":"will add.","commit_id":"9c04e522593d3680ff71007592c1d495d470ac96"}]}
