On 20.08.25 10:22, Per Nyfelt wrote:
Interesting! I did some more testing. most combinations does work
good
but i found two that yield surprising results:
1. Instantiate logger without specifier gives log name as IndyInterface
#!/usr/bin/env groovy
@Grab(group='org.apache.logging.log4j'
Interesting! I did some more testing. most combinations does work but i
found two that yield surprising results:
1. Instantiate logger without specifier gives log name as IndyInterface
#!/usr/bin/env groovy
@Grab(group='org.apache.logging.log4j', module='log4j-api', version='2.20.0')
@Grab(group=
On 19.08.25 09:31, Per Nyfelt wrote:
[...]
1. Set the log level on the root logger
@Grab(group='org.apache.logging.log4j', module='log4j-api',
version='2.20.0'),
@Grab(group='org.apache.logging.log4j', module='log4j-core',
version='2.20.0'),
@Grab(group='org.apache.logging.log4j', module='lo
Hi,
I don't have a question, just some observations on using log4j in a script
that i found interesting.
In a Groovy 4.0.28 groovy script, i noticed that if i use log4j i need to
do one of the two options below to set the logging level:
1. Set the log level on the root logger
@Grab(group='org.ap