Skip to content
This repository was archived by the owner on Nov 5, 2019. It is now read-only.
This repository was archived by the owner on Nov 5, 2019. It is now read-only.

Log-warning "Disabling Afterburner deserialization for type" using wrong logger-name #46

@mbknor

Description

@mbknor

When the afterburner-module is disabled with the error-message below, it logs it as WARN, with a dynamic logger-name.

This dynamic logger-name makes it impossible to configure logback/log4j to not log it.

If the logger-name was prefixed with "com.fasterxml.jackson.module.afterburner", we could configure to ignore it.

I do not know why this specific class results in this error in the first place, but I think it has something to do with IpInfoExtended extending IpInfo.

Logged WARN message:
"Disabling Afterburner deserialization for type class com.company.IpInfo, field #0, due to access error (type java.lang.IllegalAccessError, message=tried to access field com.company.IpInfo.ipAddress from class com.company.IpInfoExtended$Access4JacksonDeserializer)"

Used logging-Logger=com.company.IpInfoExtended$Access4JacksonDeserializer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions