These are chat archives for gin-gonic/gin

9th
Mar 2016
Aditya Manthramurthy
@donatello
Mar 09 2016 09:47
Hi! I want to send logs generated by gin to syslog. I got it working by setting gin.DefaultWriter - now I can see logs being sent to syslog - however, the color markup appears as raw characters - e.g. "[GIN] 2016/03/09 - 09:47:05 |#033[97;42m 200 #033[0m| 40.529557ms | 127.0.0.1 |#033[97;46m #033[0m POST /doit"
is it possible to disable the colored output for this kind of logging?