Skip to content

Commit 4322632

Browse files
committed
Merge pull request #339 from tgerring/jsonlog
JSON log updates
2 parents fdecc11 + 07bdba6 commit 4322632

File tree

3 files changed

+296
-300
lines changed

3 files changed

+296
-300
lines changed

cmd/ethereum/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ func main() {
6767
DataDir: Datadir,
6868
LogFile: LogFile,
6969
LogLevel: LogLevel,
70+
LogFormat: LogFormat,
7071
MaxPeers: MaxPeer,
7172
Port: OutboundPort,
7273
NAT: NAT,

eth/backend.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,7 @@ func (s *Ethereum) Coinbase() []byte { return nil } // TODO
209209
func (s *Ethereum) Start() error {
210210
jsonlogger.LogJson(&ethlogger.LogStarting{
211211
ClientString: s.net.Name,
212-
Coinbase: ethutil.Bytes2Hex(s.KeyManager().Address()),
213212
ProtocolVersion: ProtocolVersion,
214-
LogEvent: ethlogger.LogEvent{Guid: ethutil.Bytes2Hex(crypto.FromECDSAPub(&s.net.PrivateKey.PublicKey))},
215213
})
216214

217215
err := s.net.Start()

0 commit comments

Comments
 (0)