Add option for server logs
Move logger option to server object
fixed conflict