mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
logging: Enable logging across storage fs layer. (#1367)
Adds log.Debugf at all the layer - fixes #1074
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
d63d17012d
commit
e9fba04b36
+30
@@ -0,0 +1,30 @@
|
||||
### Logging.
|
||||
|
||||
- `log.Fatalf`
|
||||
- `log.Errorf`
|
||||
- `log.Warnf`
|
||||
- `log.Infof`
|
||||
- `log.Debugf`
|
||||
|
||||
Logging is enabled across the codebase. There are three types of logging supported.
|
||||
|
||||
- console
|
||||
- file
|
||||
- syslog
|
||||
|
||||
```
|
||||
"console": {
|
||||
"enable": true,
|
||||
"level": "debug"
|
||||
},
|
||||
"file": {
|
||||
"enable": false,
|
||||
"fileName": "",
|
||||
"level": "error"
|
||||
},
|
||||
"syslog": {
|
||||
"enable": false,
|
||||
"address": "",
|
||||
"level": "debug"
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user