Using std::strftime instead of c strftime (logging.cpp).