Set log level
Gitaly should allow to set the log level to warn
, spamming the logs with several info messages (as shown below) every 15 seconds is a huge waste of log space. There is nothing about this in the documentation, hence this issue.
time="2018-04-24T15:41:10+02:00" level=info msg="dialing to target with scheme: \"\"" system=system
time="2018-04-24T15:41:10+02:00" level=info msg="dialing to target with scheme: \"\"" system=system
time="2018-04-24T15:41:10+02:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{/tmp/gitaly-ruby120425828/socket.0 0 <nil>}]" system=system
time="2018-04-24T15:41:10+02:00" level=info msg="ClientConn switching balancer to \"pick_first\"" system=system
time="2018-04-24T15:41:10+02:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{/tmp/gitaly-ruby120425828/socket.1 0 <nil>}]" system=system
time="2018-04-24T15:41:10+02:00" level=info msg="ClientConn switching balancer to \"pick_first\"" system=system
time="2018-04-24T15:41:10+02:00" level=info msg="blockingPicker: the picked transport is not ready, loop back to repick" system=system
time="2018-04-24T15:41:10+02:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc4208a8d60, CONNECTING" system=system
time="2018-04-24T15:41:10+02:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420635ad0, CONNECTING" system=system
time="2018-04-24T15:41:10+02:00" level=info msg="blockingPicker: the picked transport is not ready, loop back to repick" system=system
time="2018-04-24T15:41:10+02:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420635ad0, READY" system=system
time="2018-04-24T15:41:10+02:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc4208a8d60, READY" system=system
time="2018-04-24T15:41:10+02:00" level=info msg="grpc: addrConn.transportMonitor exits due to: grpc: the connection is closing" system=system