add log instance generator