Added logging utilities