log4j settings and first endpoint for websocket