server: logger.add_log_methods()

* replace logging block with logger.add_log_methods()
* shed indention by exiting createServer() earlier