Forbedret transaction logger