compiler flag for log