0

Pykka logs to a logger called pykka. I want all exceptions, debug messages printed to console, especially when running tests that start and stop actors in Pykka written with Mamba.

How do I do this?

fatuhoku
  • 4,815
  • 3
  • 30
  • 70

1 Answers1

2

You should be able to call logging.basicConfig(level=logging.DEBUG) in the if __name__ == '__main__' clause in whatever scripts run your tests, before the test runner is invoked. You can pass other keyword arguments to basicConfig() to control the formatting of messages, as documented here.

Vinay Sajip
  • 95,872
  • 14
  • 179
  • 191