Felix Lange
c8695fae35
logger: remove Core verbosity level ( #3659 )
8 years ago
Felix Lange
13e3b2f433
logger, pow/dagger, pow/ezp: delete dead code
8 years ago
Felix Lange
35a7dcb162
all: gofmt -w -s
8 years ago
Felix Lange
ebf3cf8f7d
logger/glog: fix go vet issues
...
logging.printf triggered a format string warning. Silence it
by renaming the function.
9 years ago
Felix Lange
e287b56b69
logger/glog: clean up flag getters
9 years ago
Felix Lange
a411fe7e6e
logger/glog: fix TraceLocation.Set("")
9 years ago
Felix Lange
0edcbc797f
logger/glog: add SetVmodule
9 years ago
Felix Lange
a15b02320e
logger/glog: add directory context to output and vmodule matching
...
This change allows setting the verbosity for directory prefixes
using the syntax:
--vmodule=eth/=6
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
ea54283b30
all: update license information
10 years ago
obscuren
eaf73b55bc
miner: moved bad uncle logging to ridiculous log level. Closes #720
10 years ago
zelig
3d57e377a4
blockpool stability fixes:
...
- follow up locks and fix them
- chainManager: call SetQueued for parentErr future blocks, uncomment TD checks, unskip test
- make ErrIncorrectTD non-fatal to be forgiving to genuine mistaken nodes (temp) but demote them to guard against stuck best peers.
- add purging to bounded nodeCache (config nodeCacheSize)
- use nodeCache when creating blockpool entries and let non-best peers add blocks (performance boost)
- minor error in addError
- reduce idleBestPeerTimeout to 1 minute
- correct status counts and unskip status passing status test
- glogified logging
10 years ago
obscuren
688d118c7e
Updated logging
10 years ago
obscuren
ac473a8623
Remove debug log
10 years ago
obscuren
053d5552ab
Updated logging
10 years ago
obscuren
1889727144
Moved logging to logger.Core
10 years ago
obscuren
a0e44e3281
basic glog
10 years ago
obscuren
36452afd4e
glog wip
10 years ago
zelig
a983a215dc
fix ethtest logging
10 years ago
zelig
78cff9e3a4
independent flag for json structured logging
...
- logjson flag remove logformat flag
- passed to eth Config
- logsystem not a field of Ethereum
- LogSystem does not need to expose GetLogLevel/SetLogLevel
- message struct just implements more generic LogMsg interface
- LogMsg is a fmt.Stringer with Level()
- jsonMsg ([]byte) implements LogMsg
- remove "raw" systems
- move level logic inside StdLogSystem
- logsystems only print their kind of msg: jsonLogSystem prints jsonMsg, StdLogSystem prints stdMsg
10 years ago
Taylor Gerring
9edb9a21bc
Add json LogSystem #538
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
Taylor Gerring
61bf29be36
Check length of timestring before taking slice
10 years ago
Taylor Gerring
5948adfa10
Added eth.chain.received.new_block
10 years ago
Taylor Gerring
fbb307cca0
Added eth.chain.new_head
10 years ago
zelig
76af536d0d
block number is *big.Int, remoteID is string
10 years ago
Taylor Gerring
60a2704b04
Implement eth.miner.new_block event
10 years ago
zelig
cdc86965cb
export Sendln/Sendf in logger
10 years ago
Felix Lange
fa15854a54
logger: add P2P disconnected event
10 years ago
Taylor Gerring
f499f343ba
Update JSON Log types
10 years ago
Taylor Gerring
417f018498
Updated P2PConnected log fields
10 years ago
Taylor Gerring
db24fb792c
Move standard fields to LogEvent
10 years ago
Taylor Gerring
3d6fd601c5
Move event names within each object
10 years ago
Taylor Gerring
d53e5646ec
Use strongly-typed objects
10 years ago
Taylor Gerring
0aa76d3e5b
Rename jsonlogger method
10 years ago
Taylor Gerring
622bfd4f08
Check LogSystem type
10 years ago
Taylor Gerring
1077109e11
Add JsonLogger type
10 years ago
Taylor Gerring
ed7d7b405e
Split file cleanup
10 years ago
Taylor Gerring
41d80ba17b
Add JsonLevel log level
10 years ago
Taylor Gerring
bdf99e0981
Add LogFormat flag
10 years ago
Taylor Gerring
acdc19d1b7
Add rawLogSystem
10 years ago
Taylor Gerring
7f9c335487
Split into multiple files
10 years ago
obscuren
09841b1c9b
Cleaned up some of that util
10 years ago
obscuren
b1c247231b
ethlog => logger
10 years ago