Features/client logging

Just have a play with it first....