rename logexception-->logsetup, and pass in correct filename to logsetup