config.toml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. [mongob] ## bidding 链接
  2. host = "127.0.0.1:27083"
  3. db = "qfw"
  4. coll = "bidding" ## 标讯数据标
  5. size =10
  6. username = "SJZY_RWbid_ES"
  7. password = "SJZY@B4i4D5e6S"
  8. direct = true
  9. ## 测试环境
  10. # host = "192.168.3.206:27002"
  11. # db = "qfw_data"
  12. # coll = "bidding" ## 标讯数据标
  13. # username = "root"
  14. # password = "root"
  15. [env]
  16. # filestart = "652c0c83296f2847a1c87241" ## bidding_file 起始ID
  17. # nomalstart = "652c0c85ff68a4004101fe97" ## bidding_nomal 起始ID
  18. nextaddr = "127.0.0.1" ## 调用抽取地址
  19. nextport = "1177" ## 调用抽取端口
  20. localport = ":2345"
  21. [log]
  22. # 日志路径,为空将输出控制台
  23. logpath = ""
  24. # logpath = "logs/log.out"
  25. # log size (M)
  26. maxsize = 10
  27. # compress log
  28. compress = true
  29. # log save time (day)
  30. maxage = 7
  31. # save total log file total
  32. maxbackups = 10
  33. # log level
  34. loglevel = "debug"
  35. # text or json output
  36. format = "json"