Fixed bug with sending logger commands.