Plugwise : small improvement to logging