{"push_id":846135798,"size":1,"distinct_size":1,"ref":"refs/heads/16270_add_amqp_log_driver","head":"fd7701ff07471765ad319898259d25c5f913ff38","before":"265f98b362af5fe5f5f25a832f04efc0841c6f89","commits":[{"sha":"fd7701ff07471765ad319898259d25c5f913ff38","author":{"email":"ceff0aa8c64fcbdebeaf99d76af457d600e83000@gmail.com","name":"Richard Wincewicz"},"message":"Added initial support for logging to an AMQP exchange\n\nStarted building the log driver that will send messages to an AMQP\nbroker. Very simple so far, just making sure it connects.\n\nSigned-off-by: Richard Wincewicz <richard.wincewicz@gmail.com>\n\nLogging to rabbitmq is now working.\n\nThe messages are now being sent to the AMQP broker. Need to add error handling.\n\nSigned-off-by: Richard Wincewicz <richard.wincewicz@gmail.com>\n\nTidied up function names\n\nTidied up function names to reflect their uses\n\nSigned-off-by: Richard Wincewicz <richard.wincewicz@gmail.com>\n\nFixed typos\n\nFixed struct names that hadn't been changed from the last commit\n\nSigned-off-by: Richard Wincewicz <richard.wincewicz@gmail.com>\n\nAdded support for AMQPS\n\nAdded support for the log driver to connect to an AMQP broker with TLS.\nThe key and certificate files can be specified in the log driver\noptions\n\nSigned-off-by: Richard Wincewicz <richard.wincewicz@gmail.com>\n\nAdded support for reconnecting\n\nThe log driver will now reconnect to a broker if the connection is lost.\nA JSON settings file can also be specified with multiple brokers. This\nallows multiple secure brokers to be used as the key and certifiate\nfiles can be associated with their respective brokers.\n\nSigned-off-by: Richard Wincewicz <richard.wincewicz@gmail.com>\n\nFixed minor issue flagged by golint\n\nMoved a return out of an if/else enclosure as the return\nstatement would be reached anyway.\n\nSigned-off-by: Richard Wincewicz <richard.wincewicz@gmail.com>\n\nSwitch to using logging library\n\nEnsure that the log messages are using the logging library rather than\nfmt\n\nSigned-off-by: Richard Wincewicz <richard.wincewicz@gmail.com>\n\nGracefully handle a loss of connection\n\nThe log driver will now gracefully deal with a loss of\nconnection and attempt to reconnect to the broker.\n\nSigned-off-by: Richard Wincewicz <richard.wincewicz@gmail.com>\n\nAdded support for multiple RabbitMQ servers using non-SSL connections\n\nMultiple AMQP brokers can be specified as log driver options providing\nthey are only amqp and not amqps. Support for multiple amqps brokers is\nplanned but only through the JSON settings file\n\nSigned-off-by: Richard Wincewicz <richard.wincewicz@gmail.com>\n\nAdded parser for JSON settings file\n\nThe file specified in the log driver option amqp-settings is parsed to\nconfigure multiple brokers, with both amqp and amqps. If a connection is\nlost then the driver will cycle through the configured brokers until it\nfinds one to connect to.\n\nSigned-off-by: Richard Wincewicz <richard.wincewicz@gmail.com>\n\nAdded tests for settings parsers\n\nIncluded tests for the settings parsers\n\nSigned-off-by: Richard Wincewicz <richard.wincewicz@gmail.com>\n\nFixed issue flagged by golint\n\nAn if block ended with a return statement so I've dropped the else block\n\nSigned-off-by: Richard Wincewicz <richard.wincewicz@gmail.com>","distinct":true,"url":"https://api.github.com/repos/rwincewicz/docker/commits/fd7701ff07471765ad319898259d25c5f913ff38"}]}