prod.conf
547 字节
[prod]
config_name = "prod"
#----beego的默认配置 开始---
#端口号
httpport = 8080
##---beego的默认配置 结束---
#---自定义配置 开始----
#数据库连接
sqlconn = "root:root@tcp(127.0.0.1:3306)/ability_display?charset=utf8"
#redis相关配置
redis_add_port = "127.0.0.1:6379"
redis_auth = ""
#log相关配置
#out_put:"console","file"
log_output = "file"
log_filename = "./log/ability.log"
# maxlines =
# maxsize =
# daily =
# maxdays =
# rotate =
log_level = "debug"
#---自定义配置 结束----