• MinJie Gu's avatar
    When log maxSize set big int,FileWrite Init fail · 2da894d4
    MinJie Gu authored
    example:
    beego.SetLogger("multifile", {"filename":"logs/liverelay.log","separate":[ "emergency", "error", "info", "debug"],"maxsize":250000000}).
    
    json: cannot unmarshal number 2.5e+08 into Go value of type int
    
    The err should return and show the developer.
    2da894d4
multifile.go 3.28 KB