-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace log4j with slf4j and logback
unfortunately spring-boot hard code support for an older slf4j and logback, but this is isolated in scenario
- Loading branch information
Showing
6 changed files
with
34 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
clusterless-substrate-aws-lambda-arc/src/main/resources/log4j2.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
clusterless-substrate-aws-lambda-common/src/main/resources/log4j2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!-- | ||
~ Copyright (c) 2023-2025 Chris K Wensel <[email protected]>. All Rights Reserved. | ||
~ | ||
~ This Source Code Form is subject to the terms of the Mozilla Public | ||
~ License, v. 2.0. If a copy of the MPL was not distributed with this | ||
~ file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
--> | ||
|
||
<Configuration> | ||
<Appenders> | ||
<Lambda name="Lambda" format="${env:AWS_LAMBDA_LOG_FORMAT:-TEXT}"> | ||
<LambdaTextFormat> | ||
<PatternLayout> | ||
<pattern>%d{yyyy-MM-dd HH:mm:ss} %X{AWSRequestId} %-5p %c{1} - %m%n</pattern> | ||
</PatternLayout> | ||
</LambdaTextFormat> | ||
<LambdaJSONFormat> | ||
<JsonTemplateLayout eventTemplateUri="classpath:LambdaLayout.json"/> | ||
</LambdaJSONFormat> | ||
</Lambda> | ||
</Appenders> | ||
<Loggers> | ||
<Root level="${env:AWS_LAMBDA_LOG_LEVEL:-INFO}"> | ||
<AppenderRef ref="Lambda"/> | ||
</Root> | ||
<Logger name="software.amazon.awssdk" level="WARN"/> | ||
<Logger name="software.amazon.awssdk.request" level="DEBUG"/> | ||
</Loggers> | ||
</Configuration> |
23 changes: 0 additions & 23 deletions
23
clusterless-substrate-aws-lambda-transform/src/main/resources/log4j2.xml
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
clusterless-substrate-aws-lambda-workload/src/main/resources/log4j2.xml
This file was deleted.
Oops, something went wrong.