Added a log flag