Given one's input, log can be diverting (9)
I believe the answer is:
entertain
'be diverting' is the definition.
I can't tell whether this definition defines the answer.
'given one's input log' is the wordplay.
'given' says to put letters next to each other.
'one's input' becomes 'tain' (I can't explain this - if you can you should believe this answer much more).
'log' becomes 'enter' (as in logging or entering information to a record).
'tain' put after 'enter' is 'ENTERTAIN'.
'can' acts as a link.
Can you help me to learn more?
(Other definitions for entertain that I've seen before include "Amuse - give hospitality" , "Train teen to amuse" , "cheer" , "Please < flirt with" , "Wine and dine" .)