cleaned up log usage