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

2025-07-01 Thread via GitHub


GitHub user martinRocks added a comment to the discussion: Support for template 
names

I have tried it.  It seems to get me what I need in the json, however, the 
console still blows up with the error.  My next step is to test it with splunk. 
 However, I have to wait for my IT guys to get that set up.  

I will keep try and make my code more performative.  Thank you for all the 
insight.

GitHub link: 
https://github.com/apache/logging-log4net/discussions/261#discussioncomment-13630924


This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org



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

2025-07-01 Thread via GitHub


GitHub user ppkarwasz added a comment to the discussion: Log4j creates an empty 
log file and refuses to fill it?

Hi @i-make-robots,

> My Java 22 open source project is 
> [https://github.com/MarginallyClever/Makelangelo-software/](https://github.com/MarginallyClever/Makelangelo-software/).
>  I'm using logback and log4j with a rolling file appender.

After reviewing your repository, it appears that the project uses 
[SLF4J](http://www.slf4j.org/) as the logging API and 
[Logback](https://github.com/qos-ch/logback) as the underlying implementation. 
It doesn't use neither the [Log4j 2 
API](https://logging.apache.org/log4j/2.x/manual/api.html) nor its [Log4j Core 
implementation](https://logging.apache.org/log4j/2.x/manual/implementation.html).

Since your setup is based on Logback rather than Log4j 2, you'd likely get more 
relevant support by posting your question in the [Logback 
Discussions](https://github.com/qos-ch/logback/discussions) page.

Hope this helps!


GitHub link: 
https://github.com/apache/logging-log4j2/discussions/3793#discussioncomment-13632248


This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org



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

2025-07-01 Thread via GitHub


GitHub user i-make-robots added a comment to the discussion: Log4j creates an 
empty log file and refuses to fill it?

Whoops.Sent from my iPhoneOn Jul 1, 2025, at 11:54 AM, Piotr P. Karwasz 
***@***.***> wrote:
Hi @i-make-robots,

My Java 22 open source project is 
https://github.com/MarginallyClever/Makelangelo-software/. I'm using logback 
and log4j with a rolling file appender.

After reviewing your repository, it appears that the project uses SLF4J as the 
logging API and Logback as the underlying implementation. It doesn't use 
neither the Log4j 2 API nor its Log4j Core implementation.
Since your setup is based on Logback rather than Log4j 2, you'd likely get more 
relevant support by posting your question in the Logback Discussions page.
Hope this helps!

—Reply to this email directly, view it on GitHub, or unsubscribe.You are 
receiving this because you were mentioned.Message ID: ***@***.***>

GitHub link: 
https://github.com/apache/logging-log4j2/discussions/3793#discussioncomment-13636074


This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org