Log command execution time.