Add support for SECURE_LOG_LEVEL and change log date format