removed custom logger for pythons logging module
fixed example