karaf.audit.log in 4.2.8 disappear

classic Classic list List threaded Threaded
3 messages Options
xav
Reply | Threaded
Open this post in threaded view
|

karaf.audit.log in 4.2.8 disappear

xav
Hi all,

I would like to know, why the KARAF_AUDIT_LOG var and
-Dkaraf.audit.log="${KARAF_AUDIT_LOG}" \ disappear in bin/karaf or
bin\karaf.bat ???
Is there any reason

Thx

Regards



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
Reply | Threaded
Open this post in threaded view
|

Re: karaf.audit.log in 4.2.8 disappear

jbonofre
Hi,

I don’t remember we even had this variable in the past ;)

Anyway, the audit log is now configured directly in etc/org.ops4j.pax.logging.cfg (see log4j2.logger.audit | log4j2.appender.audit).

Here’s we use KARAF_LOG ($karaf.log) variable. You can always create "your" KARAF_AUDIT_LOG.

Regards
JB

> Le 20 mars 2020 à 16:33, xav <[hidden email]> a écrit :
>
> Hi all,
>
> I would like to know, why the KARAF_AUDIT_LOG var and
> -Dkaraf.audit.log="${KARAF_AUDIT_LOG}" \ disappear in bin/karaf or
> bin\karaf.bat ???
> Is there any reason
>
> Thx
>
> Regards
>
>
>
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

xav
Reply | Threaded
Open this post in threaded view
|

Re: karaf.audit.log in 4.2.8 disappear

xav
Hi JB,

Ok, thx, I will see log4j2.appender.audit

Thx

Regards





--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html