fix(eventlog) configure logging if repo is initialized

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
refactor(repo) mv ConfigureLogger to repo package

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

Conflicts:
	cmd/ipfs/main.go
fix(eventlog) apply settings upon initialization

This commit applies the logging settings to the logging system upon
initialization `ipfs init` and `ipfs daemon --init`.

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
Merge pull request #380 from jbenet/fix/eventlog-init-condition

fix(eventlog) initialization
Update github.com/maybebtc/logrus dependency

This patch was generated by running:

$ godep update github.com/maybebtc/logrus

Without this, `godep restore` fails like this:

```
$ LANG=C godep restore
fatal: reference is not a tree: 005463f8fb49c4a6f36181e05157e111ec5cf8a3
godep: restore: exit status 128
```

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Merge pull request #385 from chriscool/update_maybebtc_logrus

Update github.com/maybebtc/logrus dependency
refactor(config) use util method

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
log(core) bootstrapping error -> critical

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
commands/http: Allow API requests from whitelisted origins
daemon: Set allowed API origins in API_ORIGIN environment variable
importer: simplified splitter

The splitter is simplified using io.ReadFull, as this function
does exactly what we wanted.

I believe io.ErrUnexpectedEOF should be handled as an EOF here,
but please correct me if I'm wrong.
fix(bitswap/notifications) don't force sender to block on receiver

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
fix(bitswap) shutdown

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
refactor(eventlog) extract Loggable

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

# TYPES
# feat
# fix
# docs
# style (formatting, missing semi colons, etc; no code change):
# refactor
# test (adding missing tests, refactoring tests; no production code change)
# chore (updating grunt tasks etc; no production code change)
refactor(eventlog) rename ContextWithLoggable

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

fix(eventlog) compilation error

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
docs(eventlog)

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
log(dht) add eventlog.Update event

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
feat(main) create root context

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
log(main) add log event for executing pre-command hooks

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
log(core) Event: bootstrap

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>