add support for log reloading