From 62a704184db856cfac27274cbcb7e1689d4d159d Mon Sep 17 00:00:00 2001 From: dingpeifei Date: Thu, 24 Jun 2021 15:33:25 +0800 Subject: [PATCH] version log_api --- VERSION | 2 +- mindspore/log.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index f0bb29e7638..589268e6fed 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.3.0 +1.3.0 \ No newline at end of file diff --git a/mindspore/log.py b/mindspore/log.py index 228514432ad..dad398ac5c2 100644 --- a/mindspore/log.py +++ b/mindspore/log.py @@ -408,6 +408,7 @@ def get_log_config(): >>> os.environ['GLOG_log_dir'] = '/var/log' >>> os.environ['logger_maxBytes'] = '5242880' >>> os.environ['logger_backupCount'] = '10' + >>> os.environ['GLOG_stderrthreshold'] = '2' >>> from mindspore import log as logger >>> logger.get_log_config() """