Added logger for the commands