Deluan
39d68e8287
Restore pretty formatted config options in debug level
2021-05-12 14:43:09 -04:00
Deluan
702a65059f
Fix redaction for query parameters. Fix #1103
2021-05-07 21:42:35 -04:00
Deluan
cfbc39fb7f
Add log redacting, controlled by the new EnableLogRedacting
config option (default true
)
...
Imported redacting code from https://github.com/whuang8/redactrus (thanks William Huang)
Didn't use it as a dependency as it was too small and we want to keep dependencies at a minimum
2021-05-02 16:45:16 -04:00
Deluan
618d5fc81f
Better duration formatting in logs
2021-02-03 13:04:20 -05:00
Deluan
92ba658606
Don't panic if log parameters are invalid
2020-11-22 17:12:53 -05:00
Deluan
f8362a4acb
Fix staticcheck's SA1029
2020-05-13 16:49:55 -04:00
Deluan
46f1b33812
Fix logging when first arg is a context.Context without a logger
2020-04-26 19:33:57 -04:00
Deluan
03c3c192ed
Fixing static checks about passing nil context
2020-04-26 15:07:36 -04:00
Deluan
0ba5840a65
Don't set a playerId cookie it cannot register the player
2020-04-04 20:26:36 -04:00
Deluan
93646b964e
More logging tests
2020-04-04 19:11:21 -04:00
Deluan
13be8d297c
Converted last GoConvey tests to Ginkgo
...
Removed GoConvey dependency
2020-04-04 18:54:12 -04:00
Deluan
d389d40db1
feat: improve logs, remove config for disable authentication
2020-02-01 17:23:03 -05:00
Deluan
71c1844bca
refactor: new persistence, more SQL, less ORM
2020-02-01 17:23:03 -05:00
Deluan
f9db80c409
feat: add conf for data folder, default current folder (not ./data anymore)
2020-01-26 16:42:56 -05:00
Deluan
123f543a94
New Folder Scanner - WIP
2020-01-17 20:54:28 -05:00
Deluan
3d76144f82
Allow LogLevel to be configurable. Also add filename and line number when LogLevel>=debug
2020-01-13 19:57:36 -05:00
Deluan
57390fcda3
Add trace level to log
2020-01-10 13:11:24 -05:00
Deluan
84d69a4f41
Replaced Beego logging
2020-01-09 22:44:45 -05:00