Log enviroment; remove prelog from stream