changing logger to use one line, threaded life should be easier