title: Cannot log to /var/log/messages via Python 3.6.4
body: <pre><code>/opt/python/bin/python -c "if True:
      import logging
      import logging.handlers
      logger = logging.getLogger('example')
      logger.setLevel(logging.DEBUG)
      syslog_handler = logging.handlers.SysLogHandler()
      syslog_handler.setLevel(logging.DEBUG)
      logger.addHandler(syslog_handler)
      logger.critical('Hello world')
  "
  </code></pre>
  
  <p>No error, but nothing appears in /var/log/messages.</p>