Added change for log using stdout