<!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>