added logfile info
no longer printing to closed stderr