added DBUG log flag