Add logger to server

Added `logger` to `server`; Logging server into a file.
This is not a stable version, only saving this for the record.