deleting default std::ios::app paramteter for file logger