Logging with python logger.

Add possibility to log with differrent level and different target (file and console)
I might extract this to a method later.