mirror of
https://github.com/minio/minio.git
synced 2024-12-25 14:45:54 -05:00
e9fba04b36
Adds log.Debugf at all the layer - fixes #1074
31 lines
419 B
Markdown
31 lines
419 B
Markdown
### 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"
|
|
}
|
|
```
|