title: PyCharm logging output colours
body: <p>I'm using PyCharm to develop a GAE app in Mac OS X. Is there any way to display colours in the run console of PyCharm?</p>
  
  <p>I've set a <a href="http://xsnippet.org/359377/" rel="noreferrer">handler</a> to output colours in ansi format. Then, I've added the handler:</p>
  
  <pre><code>LOG = logging.getLogger()
  LOG.setLevel(logging.DEBUG)
  for handler in LOG.handlers:
      LOG.removeHandler(handler)
  
  LOG.addHandler(ColorHandler())
  
  LOG.info('hello!')
  LOG.warning('hello!')
  LOG.debug('hello!')
  LOG.error('hello!')
  </code></pre>
  
  <p>But the colour is the same.</p>
  
  <p><img src="https://i.stack.imgur.com/130xo.png" alt="PyCharm run console output"></p>
  
  <p>EDIT:</p>
  
  <p>A response from JetBrains <a href="http://youtrack.jetbrains.com/issue/PY-11543" rel="noreferrer">issue tracker</a>: Change line 55 of the snippet from sys.stderr to sys.stdout. stderr stream is always colored with red color while stdout not.</p>
  
  <p>Now colours are properly displayed.</p>