Skip to content

Commit

Permalink
Merge pull request #1746 from PradyumnaNagendra/release-3.0.0
Browse files Browse the repository at this point in the history
Issue #TG-375 feat: Updated logback configuration
  • Loading branch information
SanthoshVasabhaktula authored Jul 21, 2020
2 parents 9593fb4 + e93bc4b commit 12e9557
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/stack-sunbird/templates/lms-service_logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<pattern>%msg</pattern>
</encoder>

<topic>${sunbird_environment}.telemetry.raw</topic>
<topic>${sunbird_env_name}.telemetry.raw</topic>
<!-- ensure that every message sent by the executing host is partitioned to the same partition strategy -->
<keyingStrategy class="com.github.danielwegener.logback.kafka.keying.NoKeyKeyingStrategy" />
<!-- block the logging application thread if the kafka appender cannot keep up with sending the log messages -->
Expand Down Expand Up @@ -58,7 +58,7 @@
<pattern>%msg</pattern>
</encoder>

<topic>${sunbird_environment}.db.query.events</topic>
<topic>${sunbird_env_name}.db.query.events</topic>
<!-- ensure that every message sent by the executing host is partitioned to the same partition strategy -->
<keyingStrategy class="com.github.danielwegener.logback.kafka.keying.NoKeyKeyingStrategy" />
<!-- block the logging application thread if the kafka appender cannot keep up with sending the log messages -->
Expand Down
2 changes: 2 additions & 0 deletions ansible/roles/stack-sunbird/templates/sunbird_lms-service.env
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,5 @@ sunbird_user_qrcode_courses_limit={{sunbird_user_qrcode_courses_limit|default(50
accesstoken.publickey.basepath={{lms_device_basepath | default('/keys/')}}
accesstoken.publickey.keyprefix={{ adminutil__access_keyprefix | default('accessv1_key_public')}}
accesstoken.publickey.keycount={{ adminutil__access_keycount | default(10)}}

sunbird_env_name={{env_name}}

0 comments on commit 12e9557

Please sign in to comment.