Commit Graph

30 Commits

Author SHA1 Message Date
obscuren ac473a8623 Remove debug log 2015-04-04 23:27:23 +02:00
obscuren 053d5552ab Updated logging 2015-04-04 23:04:19 +02:00
obscuren 1889727144 Moved logging to logger.Core 2015-04-04 13:24:01 +02:00
obscuren a0e44e3281 basic glog 2015-04-04 12:40:11 +02:00
obscuren 36452afd4e glog wip 2015-04-03 17:09:11 +02:00
zelig a983a215dc fix ethtest logging 2015-03-23 17:08:49 +00:00
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
2015-03-22 02:16:54 +00:00
Taylor Gerring 9edb9a21bc Add json LogSystem #538 2015-03-21 07:26:44 +01:00
obscuren b523441361 Moved ethutil => common 2015-03-16 11:27:38 +01:00
Taylor Gerring 61bf29be36 Check length of timestring before taking slice 2015-03-11 10:43:52 -05:00
obscuren f0b2ea64fc Merge branch 'jsonlogs' of https://github.com/ethersphere/go-ethereum into ethersphere-jsonlogs
Conflicts:
	eth/block_pool.go
	eth/block_pool_test.go
	eth/protocol_test.go
	miner/worker.go
2015-03-03 20:30:05 +01:00
zelig 76af536d0d block number is *big.Int, remoteID is string 2015-03-03 15:37:20 +07:00
Taylor Gerring 60a2704b04 Implement eth.miner.new_block event 2015-03-01 16:09:59 +01:00
zelig cdc86965cb export Sendln/Sendf in logger 2015-02-25 20:04:51 +07:00
Felix Lange fa15854a54 logger: add P2P disconnected event 2015-02-19 17:09:13 +01:00
Taylor Gerring f499f343ba Update JSON Log types 2015-02-18 10:52:23 +01:00
Taylor Gerring 417f018498 Updated P2PConnected log fields 2015-02-17 13:30:25 +01:00
Taylor Gerring db24fb792c Move standard fields to LogEvent 2015-02-11 18:49:00 +01:00
Taylor Gerring 3d6fd601c5 Move event names within each object 2015-02-11 12:45:41 +01:00
Taylor Gerring d53e5646ec Use strongly-typed objects 2015-02-10 19:21:13 +01:00
Taylor Gerring 0aa76d3e5b Rename jsonlogger method 2015-01-21 11:45:30 -06:00
Taylor Gerring 622bfd4f08 Check LogSystem type 2015-01-21 10:58:09 -06:00
Taylor Gerring 1077109e11 Add JsonLogger type 2015-01-21 10:57:29 -06:00
Taylor Gerring ed7d7b405e Split file cleanup 2015-01-21 10:26:54 -06:00
Taylor Gerring 41d80ba17b Add JsonLevel log level 2015-01-21 10:18:46 -06:00
Taylor Gerring bdf99e0981 Add LogFormat flag 2015-01-21 10:17:07 -06:00
Taylor Gerring acdc19d1b7 Add rawLogSystem 2015-01-21 10:16:15 -06:00
Taylor Gerring 7f9c335487 Split into multiple files 2015-01-21 10:04:11 -06:00
obscuren 09841b1c9b Cleaned up some of that util 2015-01-04 14:20:16 +01:00
obscuren b1c247231b ethlog => logger 2014-10-31 12:56:05 +01:00