@@ -339,10 +339,10 @@ func syncClips(broker mqtt.Client, xsel *xselection, xprimary, xclipboard string
339339 memClipboard := xsel .getMemClipboard ()
340340 memPrimary := xsel .getMemPrimary ()
341341
342- log .Debugf ( "X primary: %s" , redact .redact (xprimary ))
343- log .Debugf ( "X clipboard: %s" , redact .redact (xclipboard ))
344- log .Debugf ( "Memory primary: %s" , redact .redact (memPrimary ))
345- log .Debugf ( "Memory clipboard: %s" , redact .redact (memClipboard ))
342+ log .Tracef ( 1 , "X primary: %s" , redact .redact (xprimary ))
343+ log .Tracef ( 1 , "X clipboard: %s" , redact .redact (xclipboard ))
344+ log .Tracef ( 1 , "Memory primary: %s" , redact .redact (memPrimary ))
345+ log .Tracef ( 1 , "Memory clipboard: %s" , redact .redact (memClipboard ))
346346
347347 if xclipboard != "" && xclipboard != memClipboard {
348348 // Only copy clipboard to primary if they differ. Otherwise, we end up
@@ -356,8 +356,8 @@ func syncClips(broker mqtt.Client, xsel *xselection, xprimary, xclipboard string
356356 return "" , err
357357 }
358358 }
359- log .Debugf ( "Setting mem primary = X clipboard: %s" , redact .redact (xclipboard ))
360- log .Debugf ( "Setting mem clipboard = X clipboard: %s" , redact .redact (xclipboard ))
359+ log .Tracef ( 1 , "Setting mem primary = X clipboard: %s" , redact .redact (xclipboard ))
360+ log .Tracef ( 1 , "Setting mem clipboard = X clipboard: %s" , redact .redact (xclipboard ))
361361 xsel .setMemPrimary (xclipboard )
362362 xsel .setMemClipboard (xclipboard )
363363
@@ -371,8 +371,8 @@ func syncClips(broker mqtt.Client, xsel *xselection, xprimary, xclipboard string
371371 }
372372 }
373373
374- log .Debugf ( "Setting mem clipboard = X primary: %s" , redact .redact (xprimary ))
375- log .Debugf ( "Setting mem primary = X primary: %s" , redact .redact (xprimary ))
374+ log .Tracef ( 1 , "Setting mem clipboard = X primary: %s" , redact .redact (xprimary ))
375+ log .Tracef ( 1 , "Setting mem primary = X primary: %s" , redact .redact (xprimary ))
376376 xsel .setMemClipboard (xprimary )
377377 xsel .setMemPrimary (xprimary )
378378
0 commit comments