changed logmanager to just write to output