You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pipeline-manager: info log level for feldera crates and warn for others
- By default, the Feldera crates have info log level, other crates have
warn log level
- API request log level is reduced from debug to trace
- Migrations log level is reduced from info to debug if no migrations
were applied
- Compiler reconciliation log level is reduced from info to debug
- Instructions on how to configure log levels is added to CONTRIBUTING
Signed-off-by: Simon Kassing <simon.kassing@feldera.com>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -230,6 +230,17 @@ Here are some guidelines when contributing code that affects this database's sch
230
230
* Do not modify an existing migration file. If you want to evolve the schema, add a new SQL or rust file to the migrations folder following [refinery's versioning and naming scheme](https://docs.rs/refinery/latest/refinery/#usage). The migration script should update an existing schema as opposed to assuming a clean slate. For example, use `ALTER TABLE` to add a new column to an existing table and fill that column for existing rows with the appropriate defaults.
231
231
* If you add a new migration script `V{i}`, add tests for migrations from `V{i-1}` to `V{i}`. For example, add tests that invoke the pipeline manager APIs before and after the migration.
232
232
233
+
## Logging
234
+
235
+
By default, the pipeline-manager and pipelines create an `env_logger` which logs
236
+
the Feldera crates at INFO level and all other crates at WARN level.
237
+
This can be overridden by setting the `RUST_LOG` environment variable.
238
+
For example, the following would be the same as the default with additionally
0 commit comments