Logging (simplest implementation)

waiting to be extended