logging after commands