logmanager work