xml Scriptella Java Logging测试

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml Scriptella Java Logging测试相关的知识,希望对你有一定的参考价值。

<!DOCTYPE etl SYSTEM "http://scriptella.javaforge.com/dtd/etl.dtd">
<etl>
    <description>Test Java Logging with Scriptella</description>
    <connection id="jexl" driver="jexl"/>
    <connection id="script" driver="script"/>
    <script connection-id="script"> <!-- averages 20ms per call -->
        etl.globals.put('nashornLOG', java.util.logging.Logger.getLogger('ETLscript'));
        etl.globals.get('nashornLOG').info('This is a test from nashorn.');
    </script>
    <script connection-id="jexl"> <!-- averages 3ms per call -->
        etl.globals['jexlLOG'] = class:forName('java.util.logging.Logger').getLogger('ETLjexl');
        etl.globals['jexlLOG'].info('This is a test from jexl.');
    </script>
</etl>

以上是关于xml Scriptella Java Logging测试的主要内容,如果未能解决你的问题,请参考以下文章

xml Scriptella配置文件,用于将数据直接从Neo4j导出到MySQL数据库

Caused by java lang ClassNotFoundException org jboss loggi

为啥我在 Scriptella 中输出 CSV 文件时出现双引号?

log4j2:包含PID

This function has none of Deterministic,no sql,or reads sql data in its declaration and binary loggi

春季启动的 logging.config 配置