Skip to content

Commit

Permalink
Add Python logback configuration (konpyutaika#434)
Browse files Browse the repository at this point in the history
* Add Python logback configuration

* Update CHANGELOG
  • Loading branch information
juldrixx authored May 31, 2024
1 parent e50a8d1 commit 4f4615e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Changed

- [PR #434](https://github.com/konpyutaika/nifikop/pull/434) - **[Operator/NifiCluster]** Added Python logback configuration

### Fixed Bugs

### Deprecated
Expand Down
2 changes: 2 additions & 0 deletions config/samples/override_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ data:
<logger name="org.apache.nifi.processors.standard.LogMessage" level="INFO"/>
<logger name="org.apache.nifi.controller.repository.StandardProcessSession" level="WARN" />
<!-- Py4J set to WARN to avoid verbose socket communication messages -->
<logger name="py4j" level="WARN" />
<logger name="org.apache.zookeeper.ClientCnxn" level="ERROR" />
<logger name="org.apache.zookeeper.server.NIOServerCnxn" level="ERROR" />
Expand Down
2 changes: 2 additions & 0 deletions helm/nifi-cluster/config/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@
<logger name="org.apache.nifi.processors.standard.LogMessage" level="INFO"/>
<logger name="org.apache.nifi.controller.repository.StandardProcessSession" level="WARN" />

<!-- Py4J set to WARN to avoid verbose socket communication messages -->
<logger name="py4j" level="WARN" />

<logger name="org.apache.zookeeper.ClientCnxn" level="ERROR" />
<logger name="org.apache.zookeeper.server.NIOServerCnxn" level="ERROR" />
Expand Down
2 changes: 2 additions & 0 deletions pkg/resources/templates/config/logback.xml.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ var LogbackTemplate = `<?xml version="1.0" encoding="UTF-8"?>
<logger name="org.apache.nifi.processors.standard.LogMessage" level="INFO"/>
<logger name="org.apache.nifi.controller.repository.StandardProcessSession" level="WARN" />
<!-- Py4J set to WARN to avoid verbose socket communication messages -->
<logger name="py4j" level="WARN" />
<logger name="org.apache.zookeeper.ClientCnxn" level="ERROR" />
<logger name="org.apache.zookeeper.server.NIOServerCnxn" level="ERROR" />
Expand Down

0 comments on commit 4f4615e

Please sign in to comment.