Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
updating pom file with newer ver of http components
Browse files Browse the repository at this point in the history
  • Loading branch information
rodellison committed Nov 11, 2019
1 parent 7101aa6 commit af303fd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
9 changes: 8 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
<properties>
<ask-sdk-version>[2.9.10,)</ask-sdk-version>
<aws-sns-version>[1.11.475,)</aws-sns-version>
<log4j-version>[2.12,)</log4j-version>
<apache-http-version>[4.5.9,)</apache-http-version>
<log4j-version>2.8.2</log4j-version> <!-- This version is needed, unless switching to lambdalogger -->
<jackson-version>[2.9.10.1,)</jackson-version>
</properties>

Expand All @@ -29,6 +30,11 @@
<artifactId>aws-java-sdk-sns</artifactId>
<version>${aws-sns-version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${apache-http-version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
Expand All @@ -39,6 +45,7 @@
<artifactId>log4j-core</artifactId>
<version>${log4j-version}</version>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
Expand Down
18 changes: 9 additions & 9 deletions src/main/resources/log4j2.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name=PropertiesConfig
property.filename = logs
appenders = console
property.filename=logs
appenders=console

appender.console.type = Console
appender.console.name = STDOUT
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = [%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %c{1} - %msg%n
appender.console.type=Console
appender.console.name=STDOUT
appender.console.layout.type=PatternLayout
appender.console.layout.pattern=[%-5level]%d{yyyy-MM-ddHH:mm:ss.SSS}[%t]%c{1}-%msg%n

rootLogger.level = warn
rootLogger.appenderRefs = stdout
rootLogger.appenderRef.stdout.ref = STDOUT
rootLogger.level=warn
rootLogger.appenderRefs=stdout
rootLogger.appenderRef.stdout.ref=STDOUT

0 comments on commit af303fd

Please sign in to comment.