Added logging output