Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit c5b0b53

Browse files
committed
Modify the message about missed the configuration file lambda-logger.properties. Update CI configuraion: switch off debug mode, deprecation and warning messages.
1 parent 70bd52d commit c5b0b53

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
variables:
22
MAVEN_CLI_OPTS: "--batch-mode --errors --fail-at-end --show-version -DinstallAtEnd=true -DdeployAtEnd=true"
3-
MAVEN_OPTS: "-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true"
3+
MAVEN_OPTS: "-Dhttps.protocols=TLSv1.2 -Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN -Dorg.slf4j.simpleLogger.showDateTime=true -Djava.awt.headless=true -Dmaven.compiler.showWarnings=false -Dmaven.compiler.showDeprecation=false -Dmaven.compiler.debug=false"
44

55
image: maven:3-openjdk-11
66

src/main/java/uk/bot_by/aws_lambda/slf4j/LambdaLoggerFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ private Properties loadProperties(String configurationFile) {
280280
properties.load(configurationInputStream);
281281
} catch (IOException | NullPointerException e) {
282282
// ignored
283-
Util.report("slf4j-aws-lambda starts with default values");
283+
Util.report(CONFIGURATION_FILE + "is missed");
284284
}
285285

286286
return properties;

0 commit comments

Comments
 (0)