fix import of logging module
print pretty command