logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: Configure appender from database
Date Thu, 29 Mar 2018 17:33:44 GMT
Interesting. The simplest would be a new JDBC configuration class in Log4j
that gets a complete XML document string from DB table's column...

Gary

On Thu, Mar 29, 2018, 11:28 Enric Jaen <enricjaen@yahoo.es.invalid> wrote:

> Yes, log4j internally would generate the new xml configuration
>
>
>     En jueves, 29 de marzo de 2018 17:05:26 GMT+1, Ralph Goers <
> ralph.goers@dslextreme.com> escribió:
>
>  Will a database configuration could certainly be supported somehow, any
> changes to it would most likely still end up in a full reconfiguration as
> that is how Log4j generally handles changes to the configuration it detects.
>
> Ralph
>
> > On Mar 29, 2018, at 8:29 AM, Enric Jaen <enricjaen@yahoo.es.INVALID>
> wrote:
> >
> > Hello,
> > I know is possible to change the configuration file dynamically, but I
> wonder if could be possible to configure appenders from a database, without
> needing to reload the full configuration file. A useful case would be  to
> change the log level of the appender.
> > RegardsEnric
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>

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