)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"c979844b43d9d18e895ed6636061acb590299746","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Tom Howley \u003ctom.howley@hp.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-08-13 10:45:25 +0100"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"CORE-1217 Configure haproxy logging"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"haproxy is currently not logging. This change adds support"},{"line_number":10,"context_line":"to log at a particular level, with the default set to"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"baada198_5d1ceb7b","line":7,"updated":"2014-08-13 09:50:47.000000000","message":"This looks like a reference to some internal system - its not relevant to OpenStack itself.","commit_id":"de6fd0bc9a682d919aa5b4fa480180601abaf496"},{"author":{"_account_id":1605,"name":"tom-howley","email":"tom.howley@hp.com","username":"tom-howley"},"change_message_id":"a16bc4eb5ec55e50a433535f9c65b98479819341","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Tom Howley \u003ctom.howley@hp.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-08-13 10:45:25 +0100"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"CORE-1217 Configure haproxy logging"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"haproxy is currently not logging. This change adds support"},{"line_number":10,"context_line":"to log at a particular level, with the default set to"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"baada198_458de97c","line":7,"in_reply_to":"baada198_5d1ceb7b","updated":"2014-08-13 14:01:28.000000000","message":"Correct, internal ref. Fixed in PS#2","commit_id":"de6fd0bc9a682d919aa5b4fa480180601abaf496"},{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"c979844b43d9d18e895ed6636061acb590299746","unresolved":false,"context_lines":[{"line_number":10,"context_line":"to log at a particular level, with the default set to"},{"line_number":11,"context_line":"\u0027notice\u0027."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"haproxy runs in a chroot and logs to syslog, so rsyslog is"},{"line_number":14,"context_line":"configured to intercept these (at /var/lib/haproxy/dev/log)"},{"line_number":15,"context_line":"and redirect to /var/log/haproxy/haproxy.log, which in turn"},{"line_number":16,"context_line":"is a symlink to the same path on /mnt/state. Note that this"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"baada198_9d2683ca","line":13,"updated":"2014-08-13 09:50:47.000000000","message":"It doesn\u0027t run in a chroot here. This seems overly complex, based on the description.","commit_id":"de6fd0bc9a682d919aa5b4fa480180601abaf496"},{"author":{"_account_id":1605,"name":"tom-howley","email":"tom.howley@hp.com","username":"tom-howley"},"change_message_id":"a16bc4eb5ec55e50a433535f9c65b98479819341","unresolved":false,"context_lines":[{"line_number":10,"context_line":"to log at a particular level, with the default set to"},{"line_number":11,"context_line":"\u0027notice\u0027."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"haproxy runs in a chroot and logs to syslog, so rsyslog is"},{"line_number":14,"context_line":"configured to intercept these (at /var/lib/haproxy/dev/log)"},{"line_number":15,"context_line":"and redirect to /var/log/haproxy/haproxy.log, which in turn"},{"line_number":16,"context_line":"is a symlink to the same path on /mnt/state. Note that this"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"baada198_e53efde2","line":13,"in_reply_to":"baada198_9d2683ca","updated":"2014-08-13 14:01:28.000000000","message":"There is also a possibility that my description is overly complex too! If I just make the haproxy.cfg change, the logs will go to /var/log/haproxy.log (on a debian setup, at least).  The remainder of my changes are to direct this logging to /mnt/state/var/log/haproxy/haproxy.log Are you suggesting that this latter part should change or something more fundamental?","commit_id":"de6fd0bc9a682d919aa5b4fa480180601abaf496"}],"elements/haproxy/install.d/76-haproxy":[{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"fb84b5955121e21bac93b972e8b1ce43ed377459","unresolved":false,"context_lines":[{"line_number":15,"context_line":"cat \u003e /etc/rsyslog.d/haproxy.conf\u003c\u003c\u0027EOF\u0027"},{"line_number":16,"context_line":"# Create an additional socket in haproxy\u0027s chroot in order to allow logging via"},{"line_number":17,"context_line":"# /dev/log to chroot\u0027ed HAProxy processes"},{"line_number":18,"context_line":"$AddUnixListenSocket /var/lib/haproxy/dev/log"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"# Send HAProxy messages to a dedicated logfile"},{"line_number":21,"context_line":"if $programname startswith \u0027haproxy\u0027 then /var/log/haproxy/haproxy.log"}],"source_content_type":"application/x-shellscript","patch_set":5,"id":"5a890539_289a8914","line":18,"updated":"2014-11-19 20:50:00.000000000","message":"Hmm, this seems to be deprecated behavior, according to http://www.rsyslog.com/doc/master/configuration/modules/imuxsock.html?highlight\u003daddunixlistensocket#legacy-configuration-directives\n\nShould we be using Socket instead?","commit_id":"776ae8ea9f34793b922ad6a331e1ee5894ed305b"},{"author":{"_account_id":13762,"name":"jiangfei","email":"jiangfei0622@huawei.com","username":"jiangfei"},"change_message_id":"a5b3007f6678616e4a0ddab194dc0f27f05900c6","unresolved":false,"context_lines":[{"line_number":15,"context_line":"cat \u003e /etc/rsyslog.d/haproxy.conf\u003c\u003c\u0027EOF\u0027"},{"line_number":16,"context_line":"# Create an additional socket in haproxy\u0027s chroot in order to allow logging via"},{"line_number":17,"context_line":"# /dev/log to chroot\u0027ed HAProxy processes"},{"line_number":18,"context_line":"$AddUnixListenSocket /var/lib/haproxy/dev/log"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"# Send HAProxy messages to a dedicated logfile"},{"line_number":21,"context_line":"if $programname startswith \u0027haproxy\u0027 then /var/log/haproxy/haproxy.log"}],"source_content_type":"application/x-shellscript","patch_set":5,"id":"5a890539_b29b3f71","line":18,"updated":"2014-11-20 04:16:35.000000000","message":"these comment  is already in /etc/rsyslog.d/haproxy.conf on the environment, Whether it will lead to conflict?","commit_id":"776ae8ea9f34793b922ad6a331e1ee5894ed305b"}],"elements/haproxy/os-apply-config/etc/haproxy/haproxy.cfg":[{"author":{"_account_id":13762,"name":"jiangfei","email":"jiangfei0622@huawei.com","username":"jiangfei"},"change_message_id":"a5b3007f6678616e4a0ddab194dc0f27f05900c6","unresolved":false,"context_lines":[{"line_number":7,"context_line":"  user  haproxy"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"defaults"},{"line_number":10,"context_line":"  log /dev/log local0 {{#haproxy.loglevel}}{{.}}{{/haproxy.loglevel}}{{^haproxy.loglevel}}notice{{/haproxy.loglevel}}"},{"line_number":11,"context_line":"  maxconn  {{#haproxy.service_maxconn}}{{.}}{{/haproxy.service_maxconn}}{{^haproxy.service_maxconn}}150{{/haproxy.service_maxconn}}"},{"line_number":12,"context_line":"  retries  3"},{"line_number":13,"context_line":"{{#haproxy.timeout.http-request}}"}],"source_content_type":"text/x-ttcn-cfg","patch_set":5,"id":"5a890539_f2994720","line":10,"updated":"2014-11-20 04:16:35.000000000","message":"it may be modify at global section , defaults just \u0027log global\u0027, and global \u0027log /dev/log local0 notify\u0027","commit_id":"776ae8ea9f34793b922ad6a331e1ee5894ed305b"}]}
