michaljonko / dynatrace-log4j2-appender

Dynatrace Generic Log Ingest Log4j2 Appender
Apache License 2.0
5 stars 0 forks source link

DynatraceLookupPlugin logs error on startup when magic metadata file isn't available #3

Open checketts opened 9 months ago

checketts commented 9 months ago

When starting my application for local development (in my IDE, which doesn't have a one agent available), the Dynatrace Log4j appender logs the following:

ERROR StatusLogger DynatraceLookup cannot read metadata (magic file dt_metadata_e617c525669e072eebe3d0f08212e8f2.properties)

I would like a way to disable that when doing local development, even though it doesn't affect my app.

Is this repo accepting pull requests?

dbelyaev commented 3 weeks ago

@checketts Looking for the same solution. You are talking about PR, do you have a working example to disable metadata lookup?

checketts commented 3 weeks ago

@dbelyaev No, I decided to use the OpenTelemetry logback appender. I had been using Logback before anyways, so that reduced the changes my projects required.