@@ -247,12 +247,12 @@ func (in *instrumentedService) ExecSync(ctx context.Context, r *runtime.ExecSync
247247 if err := in .checkInitialized (); err != nil {
248248 return nil , err
249249 }
250- log .G (ctx ).Infof ("ExecSync for %q with command %+v and timeout %d (s)" , r .GetContainerId (), r .GetCmd (), r .GetTimeout ())
250+ log .G (ctx ).Debugf ("ExecSync for %q with command %+v and timeout %d (s)" , r .GetContainerId (), r .GetCmd (), r .GetTimeout ())
251251 defer func () {
252252 if err != nil {
253253 log .G (ctx ).WithError (err ).Errorf ("ExecSync for %q failed" , r .GetContainerId ())
254254 } else {
255- log .G (ctx ).Infof ("ExecSync for %q returns with exit code %d" , r .GetContainerId (), res .GetExitCode ())
255+ log .G (ctx ).Debugf ("ExecSync for %q returns with exit code %d" , r .GetContainerId (), res .GetExitCode ())
256256 log .G (ctx ).Debugf ("ExecSync for %q outputs - stdout: %q, stderr: %q" , r .GetContainerId (),
257257 res .GetStdout (), res .GetStderr ())
258258 }
@@ -265,13 +265,13 @@ func (in *instrumentedService) Exec(ctx context.Context, r *runtime.ExecRequest)
265265 if err := in .checkInitialized (); err != nil {
266266 return nil , err
267267 }
268- log .G (ctx ).Infof ("Exec for %q with command %+v, tty %v and stdin %v" ,
268+ log .G (ctx ).Debugf ("Exec for %q with command %+v, tty %v and stdin %v" ,
269269 r .GetContainerId (), r .GetCmd (), r .GetTty (), r .GetStdin ())
270270 defer func () {
271271 if err != nil {
272272 log .G (ctx ).WithError (err ).Errorf ("Exec for %q failed" , r .GetContainerId ())
273273 } else {
274- log .G (ctx ).Infof ("Exec for %q returns URL %q" , r .GetContainerId (), res .GetUrl ())
274+ log .G (ctx ).Debugf ("Exec for %q returns URL %q" , r .GetContainerId (), res .GetUrl ())
275275 }
276276 }()
277277 res , err = in .c .Exec (ctrdutil .WithNamespace (ctx ), r )
@@ -282,12 +282,12 @@ func (in *instrumentedService) Attach(ctx context.Context, r *runtime.AttachRequ
282282 if err := in .checkInitialized (); err != nil {
283283 return nil , err
284284 }
285- log .G (ctx ).Infof ("Attach for %q with tty %v and stdin %v" , r .GetContainerId (), r .GetTty (), r .GetStdin ())
285+ log .G (ctx ).Debugf ("Attach for %q with tty %v and stdin %v" , r .GetContainerId (), r .GetTty (), r .GetStdin ())
286286 defer func () {
287287 if err != nil {
288288 log .G (ctx ).WithError (err ).Errorf ("Attach for %q failed" , r .GetContainerId ())
289289 } else {
290- log .G (ctx ).Infof ("Attach for %q returns URL %q" , r .GetContainerId (), res .Url )
290+ log .G (ctx ).Debugf ("Attach for %q returns URL %q" , r .GetContainerId (), res .Url )
291291 }
292292 }()
293293 res , err = in .c .Attach (ctrdutil .WithNamespace (ctx ), r )
0 commit comments