Add logging to uotput file