Updated initLogging to send a logger to NanoHTTPD