-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4084064
By: taffit_
Hello,
I've found (and managed) to enable logging in zk by modifying zk.xml and creating the i3-log.conf-file.
However as we have to use log4j we must disable all other logging mechanisms.
If I just remove the appropriate lines in the zk.xml-file and delete the i3-log.conf-file I still get the following message on tomcat-startup:
INFO: Parsing jndi:/localhost/example/WEB-INF/zk.xml
03.01.2007 16:37:01 org.zkoss.util.logging.LogService <init>:147
INFO: File not found: C:\xampp\tomcat\bin\conf\i3-log.conf
Now how can I DISABLE the zk-logging completly? It seems that it tries to enable itself just if the org.zkoss.util-lib is there.
In the forums and docs there is only advice how to enable it.
Thx in advance
taffit
Hi,
We are using log4j.xml for logging in my application . But on console we getting ZK log continuously. Because of this, we are unable to trace any issues on DEBUG. I used logging-OFF condition in web.xml file as below.
Required any suggestions to control ZK logging. Thanks in Advance...
<servlet>
<description>ZK loader for ZUML pages</description>
<servlet-name>zkLoader</servlet-name>
<servlet-class>org.zkoss.zk.ui.http.DHtmlLayoutServlet</servlet-class>
<init-param>
<param-name>update-uri</param-name>
<param-value>/zkau</param-value>
</init-param>
<init-param>
<param-name>log-level</param-name>
<param-value>OFF</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4085108
By: tomyeh
ZK uses the standard logging which usually can be disabled by configuring Web server property. Please consult the manual of your Web server if you like.
Or, you might invoke the following in your program:
Logger.getLogger("org.zkoss").setLevel(Level.OFF);
I posted a request to disable logs in ZK way:
(http://sourceforge.net/tracker/index.php?func=detail&aid=1627515&group_id=15276
2&atid=785194) But you have to wait for next freshly.
Asked: 2007-01-03 15:51:21 +0800
Seen: 296 times
Last updated: Oct 09 '14