logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sicker <mattsic...@apache.org>
Subject Re: Query about annotation support for log4j2
Date Thu, 14 Sep 2017 01:01:17 GMT
First off, please don't email developers directly. We're all subscribed to
the user list and answer questions here.

Secondly, no, that feature does not exist, though there is work being done
toward an audit log API for 2.10.

On 13 September 2017 at 01:42, Gaurav Deshpande <Gaurav.Deshpande@1eq.com>
wrote:

> Hi Matt/Ralph/Log4jusers,
>
>
>
> Is it possible to log events using annotations instead of log.info()
> statements?
>
>
>
> e.g.
>
>
>
> @Audit(<parameter>=<values>)
>
> Method body{
>
>
>
> }
>
>
>
> If yes then could you share documentation/how to make that possible?
>
>
>
> Thanks & Regards,
>
> *Gaurav Deshpande*|*Software Engineer*
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message