remove unused definition
use signals to do "log".

which means you need to connect info and/or error signal(s) if you want
to get the output.
update client. use a Client class to invoke LocalController