Comment 2 for bug 1393870

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cloudbase-init (master)

Reviewed: https://review.openstack.org/135370
Committed: https://git.openstack.org/cgit/stackforge/cloudbase-init/commit/?id=5344904f27e19668681bf4623dc88a68f7b9bfca
Submitter: Jenkins
Branch: master

commit 5344904f27e19668681bf4623dc88a68f7b9bfca
Author: Alessandro Pilotti <email address hidden>
Date: Tue Nov 18 19:25:16 2014 +0200

    Fixes unicode logging decoding issue

    Logging fails with an exception when unicode conversion of the message
    cannot be performed.

    This includes also Exception objects, where the exception message has
    an unknown encoding.

    The calling code should be responsible for handling the unicode encoding, but
    nevertheless, the logging module should handle this scenario and not raise
    an exception.

    Closes-Bug: #1393870

    Change-Id: Ied46e4a8715d11a3cf59d651004e17f6fe4c760b