logging to trace bug on server