Fixed init.py
Fixed logging