Commit Graph

25 Commits

Author SHA1 Message Date
Jeromy
96e98a8e13 add sharness test for log endpoint
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-18 12:44:02 -07:00
Jeromy
89cb430326 fix mirrorWriter write
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-18 12:44:02 -07:00
Jeromy
67be6bbd57 skip logs when no writers connected
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-18 12:44:01 -07:00
Jeromy
90896f283f clean up unused log options
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-18 12:44:01 -07:00
Jeromy
a676b5a8ac move eventlogs to an http endpoint
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-06-18 12:44:01 -07:00
rht
18f5fcea28 golint util/, thirdparty/
and exchange/bitswap/testutils.go

License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-06-18 10:03:57 +07:00
rht
4b086eff5a Remove Notice{,f} logging interface
And substitute the lines using Notice{,f} with Info{,f}

License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-06-18 10:03:57 +07:00
rht
78b6cc5f2d Replace Critical{,f} with Error{,f}
Except when there is an explicit os.Exit(1) after the Critical line,
then replace with Fatal{,f}.
golang's log and logrus already call os.Exit(1) by default with Fatal.

License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-06-18 10:03:57 +07:00
Henry
46db9de2d9 godeps: drop uuid from code.google.com 2015-05-30 02:56:36 +02:00
Henry
5c0403c6ef eventlog: buffer writes before pushing them to lumberjack - same effect, no upstream changes. Thx @natefinch! 2015-04-30 13:33:22 +02:00
Henry
eacaa2d739 Revert "use forked lumberjack (buffers writes)"
This reverts commit 7055d76958.
2015-04-30 13:30:03 +02:00
Henry
7055d76958 use forked lumberjack (buffers writes) 2015-04-29 21:03:39 +02:00
Ho-Sheng Hsiao
bf22aeec0a Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs
- Modified Godeps/Godeps.json by hand
- [TEST] Updated welcome docs hash to sharness
- [TEST] Updated contact doc
- [TEST] disabled breaking test (t0080-repo refs local)
2015-03-31 12:52:25 -07:00
Henry
d69bdecbc7 move back to upstream logrus 2015-03-01 00:59:33 +01:00
Henry
6cc6a80039 godeps: maybebtc renamed is account 2015-02-27 14:40:45 +01:00
Henry
92d08db7a5 rewrote import paths of go.net/context to use golang.org/x/context
- updated go-ctxgroup and goprocess
ctxgroup: AddChildGroup was changed to AddChild. Used in two files:
- p2p/net/mock/mock_net.go
- routing/dht/dht.go

- updated context from hg repo to git
prev. commit in hg was ad01a6fcc8a19d3a4478c836895ffe883bd2ceab. (context: make parentCancelCtx iterative)
represents commit 84f8955a887232b6308d79c68b8db44f64df455c in git repo

- updated context to master (b6fdb7d8a4ccefede406f8fe0f017fb58265054c)

Aaron Jacobs (2):
net/context: Don't accept a context in the DoSomethingSlow example.
context: Be clear that users must cancel the result of WithCancel.

Andrew Gerrand (1):
go.net: use golang.org/x/... import paths

Bryan C. Mills (1):
net/context: Don't leak goroutines in Done example.

Damien Neil (1):
context: fix removal of cancelled timer contexts from parent

David Symonds (2):
context: Fix WithValue example code.
net: add import comments.

Sameer Ajmani (1):
context: fix TestAllocs to account for ints in interfaces
2015-02-25 11:58:19 +01:00
Brian Tiger Chow
bbc9715d4b fix(config, eventlog) use int. it plays nicely with everyone else 2015-02-03 17:19:15 -08:00
Juan Batiz-Benet
2d9550f284 fix(eventlog) add *EventInProgress.Append method 2015-02-01 22:08:49 -08:00
Brian Tiger Chow
68a007945b feat(eventlog) add Pair method 2015-02-01 22:08:49 -08:00
Brian Tiger Chow
1dd1e7339b feat(eventlog) add SetError to EventInProgress 2015-02-01 21:54:20 -08:00
Brian Tiger Chow
8f16a4efff feat(eventlog) add support for e := log.Begin... e.Append(Loggable) 2015-02-01 21:54:20 -08:00
Brian Tiger Chow
8c1f93dcf5 fix eventlog format 2015-01-24 01:37:03 -08:00
Brian Tiger Chow
6fedf259eb remove prefix logger 2015-01-24 00:30:56 -08:00
Brian Tiger Chow
c89b5ce824 wip Loggable func 2015-01-18 15:09:38 -08:00
Brian Tiger Chow
884143bf9c move generic packages to thirdparty (see thirdparty/README.md) 2015-01-18 14:04:45 -08:00