The log Element"

From Documentation
m
Line 1: Line 1:
 +
{{ZKConfigurationReferencePageHeader}}
  
 
By default, ZK's logger depends on how the Web server is configured. However, you could configure ZK to load and monitor i3-log.conf as described in the '''Logger''' section of the '''Beyond ZK''' chapter.
 
By default, ZK's logger depends on how the Web server is configured. However, you could configure ZK to load and monitor i3-log.conf as described in the '''Logger''' section of the '''Beyond ZK''' chapter.
Line 20: Line 21:
  
 
where an empty string means all packages, not just <tt>org.zkoss</tt> in the previous example.
 
where an empty string means all packages, not just <tt>org.zkoss</tt> in the previous example.
 +
 +
{{ZKConfigurationReferencePageFooter}}

Revision as of 08:45, 12 July 2010


The log Element


By default, ZK's logger depends on how the Web server is configured. However, you could configure ZK to load and monitor i3-log.conf as described in the Logger section of the Beyond ZK chapter.


 <log>
     <log-base>org.zkoss</log-base>
 </log>


If you want to use the same logging mechanism in your application, you could configure ZK to handle all loggers as follows.

 <log>
     <log-base></log-base>
 </log>


where an empty string means all packages, not just org.zkoss in the previous example.



Last Update : 2010/07/12

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.