[REF] Add logger and fix pylint;