Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
fix excessive logging from mysql debezium connector (airbytehq#3966)
Browse files Browse the repository at this point in the history
* switch off logging for io.debezium.connector.mysql.MySqlValueConverters

* add comment + disable history logs + upgrade docker version

* fix comment
  • Loading branch information
subodh1810 authored Jun 9, 2021
1 parent 749c74b commit cb56180
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions airbyte-commons/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@
<Logger name="org.apache" level="WARN" />
<Logger name="httpclient" level="WARN" />
<Logger name="com.amazonaws" level="WARN" />
<!--MySQL Debezium connector generates a log whenever it converts an invalid value to empty value.
Ex: Invalid value '0000-00-00 00:00:00' stored in column 'column_name' of table 'table_name' converted to empty value
If a database has tons of such values, the logs would be filled with such messages-->
<Logger name="io.debezium.connector.mysql.MySqlValueConverters" level="OFF" />
<!--MySQL Debezium connector generates a log whenever it comes across a DDL query to mention that it skipped it.
If a database has tons of DDL queries, the logs would be filled with such messages-->
<Logger name="io.debezium.relational.history" level="OFF" />

</Loggers>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"sourceDefinitionId": "435bb9a5-7887-4809-aa58-28c27df0d7ad",
"name": "MySQL",
"dockerRepository": "airbyte/source-mysql",
"dockerImageTag": "0.3.5",
"dockerImageTag": "0.3.6",
"documentationUrl": "https://docs.airbyte.io/integrations/sources/mysql",
"icon": "mysql.svg"
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
- sourceDefinitionId: 435bb9a5-7887-4809-aa58-28c27df0d7ad
name: MySQL
dockerRepository: airbyte/source-mysql
dockerImageTag: 0.3.5
dockerImageTag: 0.3.6
documentationUrl: https://docs.airbyte.io/integrations/sources/mysql
icon: mysql.svg
- sourceDefinitionId: 2470e835-feaf-4db6-96f3-70fd645acc77
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-mysql/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ COPY build/distributions/${APPLICATION}*.tar ${APPLICATION}.tar

RUN tar xf ${APPLICATION}.tar --strip-components=1

LABEL io.airbyte.version=0.3.5
LABEL io.airbyte.version=0.3.6

LABEL io.airbyte.name=airbyte/source-mysql

0 comments on commit cb56180

Please sign in to comment.