logging: Enable logging across storage fs layer. (#1367)

Adds log.Debugf at all the layer - fixes #1074
This commit is contained in:
Harshavardhana
2016-04-24 00:36:00 -07:00
committed by Anand Babu (AB) Periasamy
parent d63d17012d
commit e9fba04b36
8 changed files with 287 additions and 39 deletions
+30
View File
@@ -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"
}
```