Can you try setting System.setProperty("*log4j.configuration",
"location_to_property_file");*
*
*
*this will work only if you have not initialized log4j.  *
*
*
*
*


On Thu, Mar 7, 2013 at 2:37 AM, [email protected] <
[email protected]> wrote:

> Hello to everyone,
> i need to specify the location of the configuration file (log4j2)
> programmatically. I've searched all around the web but i've not found a
> solution.
> Thanks in advance.
> Claudio Papa
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to