Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Commit

Permalink
make log elk friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
kiranrg committed Mar 24, 2017
1 parent 0e2f357 commit 63bd384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/configure/commonconfigure.go
Expand Up @@ -233,7 +233,7 @@ func (r *CommonConfigure) SetupServerConfig() CommonAppConfig {
if net.ParseIP(listenAddress) == nil {
// default ListenAddress is not set, try obtain from TChannel
ip, _ := tchannel.ListenIP()
log.WithFields(`local-ip`, ip).Info(`No listen address specified; using local ip instead`)
log.WithField(`tchannel-ip`, ip).Info(`No listen address specified; using tchannel-ip instead`)
if ip == nil {
log.Panic(`Could not get listen address`)
}
Expand Down

0 comments on commit 63bd384

Please sign in to comment.