File logging thread now running in background