一物一码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
612 B

  1. # debug release test
  2. debug: true
  3. prd: false
  4. local: true
  5. # 缓存
  6. redis_addr: '120.24.28.6:32572'
  7. # 数据库
  8. db:
  9. host: '119.23.182.117:3306'
  10. name: 'zyos_website'
  11. user: 'root'
  12. psw: 'Fnuo123com@'
  13. show_log: true
  14. max_lifetime: 30
  15. max_open_conns: 100
  16. max_idle_conns: 100
  17. path: 'tmp/task_sql_%v.log'
  18. # 日志
  19. log:
  20. level: 'debug' # 普通日志级别 #debug, info, warn, fatal, panic
  21. is_stdout: true
  22. time_format: 'standard' # sec, second, milli, nano, standard, iso
  23. encoding: 'console'
  24. is_file_out: true
  25. file_dir: './tmp/'
  26. file_max_size: 256
  27. file_max_age: 1
  28. file_name: 'task.log'