Deluan
6489dd4478
Fix overriding previous logger in context
2022-12-14 11:50:16 -05:00
Deluan
f78257235e
Add option to have different loglevels per source folder/file
2021-07-14 18:44:14 -04:00
Deluan Quintão
66b74c81f1
Encrypt passwords in DB ( #1187 )
...
* Encode/Encrypt passwords in DB
* Only decrypts passwords if it is necessary
* Add tests for encryption functions
2021-06-18 18:38:38 -04:00
Igor Rzegocki
6bd4c0f6bf
Reverse proxy authentication support ( #1152 )
...
* feat(auth): reverse proxy authentication support - #176
* address PR remarks
* Fix redaction of UI appConfig
Co-authored-by: Deluan <deluan@navidrome.org>
2021-06-11 23:17:21 -04:00
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
d389d40db1
feat: improve logs, remove config for disable authentication
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