Fixed syntax bug in log statement