Add logging capabillities