Wihtout using cout, however, write debug-info(events, peers) to files
Change the debug info of std output