Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #38 from openfresh/feature/add_log_time
Browse files Browse the repository at this point in the history
add time column to gRPC access log
  • Loading branch information
stormcat24 authored Jun 5, 2017
2 parents 703fa18 + e3fe4fc commit c32a298
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ func (ss *StreamServer) Events(es proto.StreamService_EventsServer) error {
}
return nil
})),
zap.String("time", time.Now().Format(time.RFC3339)),
)
if request.Events == nil {
ss.errChan <- errors.New("event can't be nil")
Expand Down

0 comments on commit c32a298

Please sign in to comment.