Fixed a logging exception, and adding logging statements in Server!