Re: [D] Support for template names [logging-log4net]

2025-06-30 Thread via GitHub
GitHub user martinRocks added a comment to the discussion: Support for template names Thank you so very much for the detailed and quick response. I have an idea on how to get it to work. If it works, I will share what I have with you. However, there is still the problem of the StringFormat

Re: [D] Support for template names [logging-log4net]

2025-06-30 Thread via GitHub
GitHub user FreeAndNil added a comment to the discussion: Support for template names There are some possibilities: You can - derive your own `LoggingEvent` - override `RenderedMessage` and `WriteRenderedMessage` (with your special format logic) - derive your own logger - override `ForcedLog`

Re: [D] Log4net stopped sending logs to datadog agentless logging [logging-log4net]

2025-06-30 Thread via GitHub
GitHub user francolawpaybyphone closed a discussion: Log4net stopped sending logs to datadog agentless logging Hey, I just noticed that my application stopped sending logs to datadog using direct agentless logging. Wondering if that has happened before or if anyone else has any insights? I sa

Re: [D] Support for template names [logging-log4net]

2025-06-30 Thread via GitHub
GitHub user martinRocks added a comment to the discussion: Support for template names What do you think about doing something like this? I'm not sure if any of the names are something that my cloud log reader would ingest, but that should fix part of my problem. To make this work, just add t

Re: [D] Log4j creates an empty log file and refuses to fill it? [logging-log4j2]

2025-06-30 Thread via GitHub
GitHub user i-make-robots edited a discussion: Log4j creates an empty log file and refuses to fill it? Hello, everyone. I hope you're doing well. My Java 22 open source project is https://github.com/MarginallyClever/Makelangelo-software/. I'm using logback and log4j with a rolling file app

Re: [D] Support for template names [logging-log4net]

2025-06-30 Thread via GitHub
GitHub user FreeAndNil added a comment to the discussion: Support for template names Have you tried your solution? You can easily exchange the PatternLayout with your own layout in the log4net configuration: https://logging.apache.org/log4net/manual/configuration/layouts.html In case you log

Re: [D] Getting current date-time format (or default format) [logging-log4j2]

2025-06-30 Thread via GitHub
GitHub user ppkarwasz added a comment to the discussion: Getting current date-time format (or default format) > First of all, thank you for answering 🙂 Second, regarding your first comment > (i didn't want to quote it) is't not up for the user to decide how the time > will be formatted, I'm t