start of logging
basic logging works