I have this example app:
test.py
import logging
logging.basicConfig(level=logging.INFO, filename='log/application.log')
print abc
When I run this app "python test.py" it will raise an SyntaxError because of the print statement (python 3).
Why is that error not logged in the log-file?