mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
docs: Move developer docs from top-level to its own directory. (#1642)
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
### Logging.
|
||||
|
||||
- `log.Fatalf`
|
||||
- `log.Errorf`
|
||||
- `log.Warnf`
|
||||
- `log.Infof`
|
||||
|
||||
Logging is enabled across the codebase. There are three types of logging supported.
|
||||
|
||||
- console
|
||||
- file
|
||||
- syslog
|
||||
|
||||
Sample logger section from `~/.minio/config.json`
|
||||
```
|
||||
"console": {
|
||||
"enable": true,
|
||||
"level": "error"
|
||||
},
|
||||
"file": {
|
||||
"enable": false,
|
||||
"fileName": "",
|
||||
"level": "trace"
|
||||
},
|
||||
"syslog": {
|
||||
"enable": false,
|
||||
"address": "",
|
||||
"level": "info"
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user