Skip to content

JBoss integration issues: cannot read URL property with JBoss LogManager and formatting issues #247

@dje06

Description

@dje06

JBoss is forcing its own JBoss LogManager, which is returning null when using getProperty(String key), hence the call to LogManager.getLogManager().getProperty(key) from HttpEventCollectorLoggingHandler is never able to get the mandatory settings (url, token, index...).
I didn't find a way to change the LogManager returned by LogManager.getLogManager() as it seems to be hard-coded in JBoss itself.
Thefore, I suggest to let the user provide another configuration file in case the property is not available by the classical way using the LogManager configuration.
Also the default provided formatter is not used at all (same as #204).
I fixed both issues on my local and tested it. I will then raise a PR accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions