Skip to content

Ability to flush logs at shutdown #372

@epot

Description

@epot

I am following this tutorialL https://docs.microsoft.com/en-us/azure/application-insights/app-insights-java-get-started to use this component and it is not clear how I can flush all logs to AppInsights before shutting down. I saw that flush methods exist (added here #142) but I am not sure if they apply to logs and how I can use them when the app shuts down (since I never instantiate anything in Java, I fully rely on logback configuration). Would it be possible to get a small explanation ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions