Added log server command and appended some function header docs