Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

fix(rollup): allow specfiying full filter directives in logs #174

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/rollup/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: {{ .Values.config.rollup.name }}-conductor-env
namespace: {{ .Values.global.namespace }}
data:
ASTRIA_CONDUCTOR_LOG: "astria_conductor={{ .Values.config.logLevel }}"
ASTRIA_CONDUCTOR_LOG: "{{ .Values.config.filterDirectives }}"
{{- if (index .Values "celestia-node").enabled }}
ASTRIA_CONDUCTOR_CELESTIA_NODE_URL: "{{ include "celestiaNode.service.adresses.rpc" (index .Subcharts "celestia-node") }}"
TOKEN_SERVER_URL: "{{ include "celestiaNode.service.adresses.token" (index .Subcharts "celestia-node") }}"
Expand Down Expand Up @@ -37,7 +37,7 @@ metadata:
name: {{ .Values.config.rollup.name }}-composer-env
namespace: {{ .Values.global.namespace }}
data:
ASTRIA_COMPOSER_LOG: "astria_composer={{ .Values.config.logLevel }}"
ASTRIA_CONDUCTOR_LOG: "{{ .Values.config.filterDirectives }}"
ASTRIA_COMPOSER_API_LISTEN_ADDR: "0.0.0.0:0"
ASTRIA_COMPOSER_SEQUENCER_URL: "{{ .Values.config.sequencer.rpc }}"
ASTRIA_COMPOSER_ROLLUPS: "{{ .Values.config.rollup.chainId }}::ws://127.0.0.1:{{ .Values.ports.wsRPC }}"
Expand Down
8 changes: 5 additions & 3 deletions charts/rollup/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ global:
useTTY: true

config:
# The level at which core astria components will log out
# Options are: error, warn, info, and debug
logLevel: "debug"
# The filter directives which core astria components will use to write trace data.
# Common options are log levels: error, warn, info, debug, trace
# For a full overview of filter capabilities see:
# https://docs.rs/tracing-subscriber/0.3.18/tracing_subscriber/filter/struct.EnvFilter.html#directives
filterDirectives: "debug"

rollup:
# Default name for the rollup chain
Expand Down
Loading