Hello,
I searched on forums but could not find an answer for this question, as all problems relate to apps running on web servers.
I have the following bean.xml file:
And the following Bean.java file:Code:<!-- headers ommited --> <bean id="bean1" class="Bean"> <property name="say" value="Hello world!"/> </bean>
Running this program produces six lines of info logs - what should I do to turn them off?Code://import header ommited public class Bean { public Bean () {} private String say; public void setSay (String what) {this.say = what; } public static void main(String[] args) throws Exception { ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("bean.xml"); Bean b = ctx.getBean("bean1",Bean.class); System.out.println(b.say); } }
Best regards,
zoom.


Reply With Quote
