Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.0.6 #152

Merged
merged 1 commit into from
Nov 24, 2021
Merged

Release 2.0.6 #152

merged 1 commit into from
Nov 24, 2021

Conversation

avahuang0429
Copy link
Contributor

@avahuang0429 avahuang0429 commented Nov 24, 2021

Issue #, if available:
Upgrade dependencies version
Description of changes:

Release 2.0.6 (November 23, 2021)

  • Upgraded multiple dependencies
    • Amazon Kinesis Client Library 2.3.9
    • ch.qos.logback 1.2.7

Testing:
Ran amazon_kclpy_helper.py with -l logback.xml file below

<configuration>

  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <!-- encoders are assigned the type
         ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
    <encoder>
      <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
    </encoder>
  </appender>

  <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
    <file>logFile.log</file>
    <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
      <!-- daily rollover -->
      <fileNamePattern>logFile.%d{yyyy-MM-dd}.log</fileNamePattern>

      <!-- keep 30 days' worth of history -->
      <maxHistory>30</maxHistory>
    </rollingPolicy>

    <encoder>
      <pattern>%-4relative [%thread] %-5level %logger{35} - %msg%n</pattern>
    </encoder>
  </appender>

  <root level="info">
    <appender-ref ref="FILE" />
    <appender-ref ref="STDOUT" />
  </root>
</configuration>

Was able to see log file output logFile.log and logFile.2021-11-23 with STDOUT log
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@avahuang0429 avahuang0429 merged commit 2848134 into master Nov 24, 2021
@avahuang0429 avahuang0429 deleted the 2.0.6 branch November 24, 2021 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants