Hi,

 

In our project we get the properties file into a resourcebundle. So I need to 
configure it through that bundle. 

 

Is there any way to get  that bundle for configuring it.

 

Log4j 2.9.1 version is been used.

 

Code snippet:

               PropertyResourceBundle bundle = (PropertyResourceBundle) 
PropertyResourceBundle.getBundle("log4j2");
 
                 //what should be the format to fill the parameters .
                 ConfigurationSource configurationSource = new 
ConfigurationSource(________);
 
I cannot use the ConfigurationSource.fromUri or fromResource.
 
Any idea with this ?
 
Thanks,
Kavitha
 

 

Reply via email to