Skip to content

Session-Specific Logging in QuickFIX/J Using SLF4J #1058

@Priya-G1

Description

@Priya-G1

We are currently using the SLF4JLog class that comes inbuilt with QuickFIX/J for logging. Logs are being generated, but they are created with a common name.

Now, I need to perform rolling logs and generate them with a session ID–specific name instead of a common one. To achieve this, I am having to write custom code — overriding the existing SLF4JLog and SLF4JLogFactory classes, and using MDC to generate session-specific logs. Additionally, in Logback I also need to hardcode the log file path.

Can you please suggest me if there is any inbuilt functionality in QuickFIX/J that allows generating session-specific logs (with the session ID in the log name) without having to hardcode the log path?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions