Description: Silence setup failure of the logging subsystem
 The logging subsystem has a feature that displays two lines of warnings
 if the per-user log file cannot be created. This leads to spurious
 errors when plainbox is invoked from a build environment. Before a
 better solution is found this warning is disabled as all of the
 subsequent, relevant, logging messages are display either way.
Author: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Bug-Ubuntu: https://bugs.launchpad.net/checkbox/+bug/1262898
Forwarded: yes
Last-Update: 2014-03-18

--- a/plainbox/impl/logging.py
+++ b/plainbox/impl/logging.py
@@ -94,10 +94,6 @@
             try:
                 os.makedirs(self.log_dir, exist_ok=True)
             except OSError as error:
-                logger.warning(
-                    _("Unable to create log directory: %s"), self.log_dir)
-                logger.warning(_("Reason: %s. All logs will go to "
-                                 "console instead."), error)
                 config_dict = self.DEFAULT_CONSOLE_ONLY_CONFIG
         # Apply the selected configuration. This overrides anything currently
         # defined for all of the logging subsystem in this python runtime
