add logs dir to gitignore
add logging functionality to the commands