335 Star 1.5K Fork 867

MindSpore / docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
log.md 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
luojianing 提交于 2023-07-21 15:16 . replace target=blank

Log

View Source On Gitee

Log-related Environment Variables

Only server inference version and windows version support environment variables below, except GLOG_v.

  • GLOG_v

    The environment variable specifies the log level. After the log level is specified, the log information greater than or equal to this level will be output. The values are as follows: 0: DEBUG; 1: INFO; 2: WARNING; 3: ERROR. The default value is 2, indicating the WARNING level. ERROR level indicates that an error occurred during program execution. The error log will be output and the program may not be terminated.

  • GLOG_logtostderr

    The environment variable specifies the log output mode.
    When GLOG_logtostderr is set to 1, logs are output to the screen. If the value is set to 0, logs are output to a file. The default value is 1.

  • GLOG_log_dir

    The environment variable specifies the log output directory path. The config path needs to exist.

1
https://gitee.com/mindspore/docs.git
git@gitee.com:mindspore/docs.git
mindspore
docs
docs
r2.0

搜索帮助