百度智能云

All Product Document

          Intelligent Edge

          Master Program Configuration

          The configuration under the master program is separated from the application configuration, and the default configuration file is etc/baetyl/conf.yml under working directory. The configuration is interpreted as follows:

          Mode: Default value: Docker, Service operation mode. Docker: Container mode; Native: Progress model 
          Grace: Default value: 30s, Time-out period of graceful service exit 
          server: Master program API Server configuration item 
            address: Environmental variable may be read by default: OPENEDGE_MASTER_API, Master program API Server address 
            timeout: Default value: 30s, Master program API Server request time-out period 
          logger: Log configuration item 
            path: It is empty by default, i.e., no file is printed; if a file is appointed, it will be output to file. 
            level: Default value: Info, log level, supporting debug, info, warn and error. 
            format: Default value: Text, log print format, supporting text and json 
            age: 
              max: Default value: 15, Maximum number of days a log file is retained 
            size: 
              max: Default value: 50, Log file size limit, unit MB 
            backup: 
              max: Default value: 15, Maximum number of log files retained.
          Previous
          Preface
          Next
          Application Configuration