To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit c3844c78 authored by John Zhang's avatar John Zhang
Browse files

add LOGGING_FORMAT option to repository settings

parent 93235413
......@@ -24,12 +24,14 @@ sys.path.insert(0, os.path.abspath(os.path.join(__file__, "..", "..")))
from mubench import __VERSION__
from mubench.frontend import frontends
from mubench.conf import settings
assert sys.version_info[:2] >= (3, 4), "Python 3.4+ is required."
LOGGING_FORMAT_DEFAULT = "[%(levelname)s] %(asctime)s %(module)s %(message)s"
logging.basicConfig(
# format="[%(levelname)s] %(asctime)s %(module)s %(message)s",
format="%(message)s",
format=getattr(settings, 'LOGGING_FORMAT', LOGGING_FORMAT_DEFAULT),
level=logging.INFO)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment