test.py now runs all doctest examples.
Reactivate logging in the core module.