.lambda-native.2.2.1.source-code.logback.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lambda-native Show documentation
Show all versions of lambda-native Show documentation
A middleware Lambda function that handles all the cross-cutting concerns for the downstream Lambda function.
The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2024 Network New Technologies Inc.
~
~ Licensed 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.
-->
<configuration>
<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %X{sId} %X{cId} %-5level %class{36}:%L %M - %msg%n</pattern>
</encoder>
</appender>
<!-- audit log -->
<appender name="audit" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>LambdaNativeAuditLog %msg%n</pattern> <!-- the layout pattern used to format log entries -->
</encoder>
</appender>
<root level="info">
<appender-ref ref="stdout"/>
</root>
<logger name="com.networknt" level="trace" additivity="false">
<appender-ref ref="stdout"/>
</logger>
<logger name="Audit" level="info" additivity="false">
<appender-ref ref="audit"/>
</logger>
</configuration>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy