blob: 31b1e04751b66c373d4efccf3e6b397d294eef83 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
status = error
name = ScriptConfigTest
script.javascript.type = ScriptFile
script.javascript.name = filter.js
script.javascript.language = JavaScript
script.javascript.path = src/test/resources/scripts/filter.js
script.javascript.charset = UTF-8
script.groovy.type = ScriptFile
script.groovy.name = filter.groovy
script.groovy.path = src/test/resources/scripts/filter.groovy
script.groovy.charset = UTF-8
appender.list.type = List
appender.list.name = List
appender.list.layout.type = PatternLayout
appender.list.layout.pattern = [%-5level] %c{1.} %msg%n
logger.javascriptFilter.name = TestJavaScriptFilter
logger.javascriptFilter.level = trace
logger.javascriptFilter.additivity = false
logger.javascriptFilter.appenderRef.list.ref = List
logger.javascriptFilter.filter.script.type = ScriptFilter
logger.javascriptFilter.filter.script.onMatch = ACCEPT
logger.javascriptFilter.filter.script.onMismatch = DENY
logger.javascriptFilter.filter.script.ref.type = ScriptRef
logger.javascriptFilter.filter.script.ref.ref = filter.js
logger.groovyFilter.name = TestGroovyFilter
logger.groovyFilter.level = trace
logger.groovyFilter.additivity = false
logger.groovyFilter.appenderRef.list.ref = List
logger.groovyFilter.filter.script.type = ScriptFilter
logger.groovyFilter.filter.script.onMatch = ACCEPT
logger.groovyFilter.filter.script.onMismatch = DENY
logger.groovyFilter.filter.script.ref.type = ScriptRef
logger.groovyFilter.filter.script.ref.ref = filter.groovy
rootLogger.level = trace
rootLogger.appenderRef.list.ref = List