log std errr to file