org.zkoss.util.logging.config.file"
From Documentation
m (Created page with "{{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.util.logging.config.file Default: none [Since 6.0.0] It specifies the logging configuration file which is u...") |
|||
Line 8: | Line 8: | ||
It specifies the logging configuration file which is used to configure the logging of ZK internal functions. You generally don't need it unless you'd like to know how ZK operates internally. For more information, please refer to [[ZK Developer's Reference/Supporting Utilities/Logger|ZK Developer's Reference: Logger]]. | It specifies the logging configuration file which is used to configure the logging of ZK internal functions. You generally don't need it unless you'd like to know how ZK operates internally. For more information, please refer to [[ZK Developer's Reference/Supporting Utilities/Logger|ZK Developer's Reference: Logger]]. | ||
+ | |||
+ | For example, | ||
+ | |||
+ | <source lang="xml"> | ||
+ | <library-property> | ||
+ | <name>org.zkoss.util.logging.config.file</name> | ||
+ | <value>conf/zk-log.properties</value> | ||
+ | </library-property> | ||
+ | </source> | ||
+ | |||
+ | If a relative path is specified, it will look for the class path first. If not found, it will assume it is related to the current directory, i.e., the directory specified in the system property called <tt>user.dir</tt>. | ||
+ | |||
+ | You could specify an absolute path, such as <code>/usr/jetty/conf/zk-log.properties</code>, if you are not sure what the current directory is. | ||
{{ZKConfigurationReferencePageFooter}} | {{ZKConfigurationReferencePageFooter}} |
Revision as of 02:38, 23 December 2011
Property:
org.zkoss.util.logging.config.file
Default: none [Since 6.0.0]
It specifies the logging configuration file which is used to configure the logging of ZK internal functions. You generally don't need it unless you'd like to know how ZK operates internally. For more information, please refer to ZK Developer's Reference: Logger.
For example,
<library-property>
<name>org.zkoss.util.logging.config.file</name>
<value>conf/zk-log.properties</value>
</library-property>
If a relative path is specified, it will look for the class path first. If not found, it will assume it is related to the current directory, i.e., the directory specified in the system property called user.dir.
You could specify an absolute path, such as /usr/jetty/conf/zk-log.properties
, if you are not sure what the current directory is.