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: 2013-12-19

--- plainbox-0.4~b2.orig/plainbox/impl/logging.py
+++ plainbox-0.4~b2/plainbox/impl/logging.py
@@ -93,10 +93,6 @@ class LoggingHelper:
             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
