enhancing logging

fix: arguments handling
fix: pylint revealed issues

fix: pylint revealed issues