Skip to content

Commit 7a8503b

Browse files
shenkeyaodailinsubjam
authored andcommitted
Change the logging level for the safe L2 number (#252)
* Update log level * Reduce logging level (cherry picked from commit dd97e4c)
1 parent ebe1b3a commit 7a8503b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

espresso/docker-compose.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ services:
226226
- --l1.http-poll-interval=1s
227227
- --l1.epoch-poll-interval=1s
228228
- --p2p.disable=true
229-
- --log.level=debug
230229

231230
op-node-verifier:
232231
build:
@@ -264,7 +263,6 @@ services:
264263
- --l1.http-poll-interval=1s
265264
- --l1.epoch-poll-interval=1s
266265
- --p2p.disable=true
267-
- --log.level=debug
268266

269267
caff-node:
270268
build:
@@ -309,7 +307,6 @@ services:
309307
- --l1.trustrpc=true
310308
- --rpc.enable-admin=true
311309
- --espresso.poll-interval=500ms
312-
- --log.level=debug
313310
- --p2p.disable=true
314311
- --l1.http-poll-interval=1s
315312
- --l1.epoch-poll-interval=1s

op-node/rollup/status/status.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ func (st *StatusTracker) OnEvent(ctx context.Context, ev event.Event) bool {
8282
st.log.Debug("Local safe head updated", "local_safe", x.Ref)
8383
st.data.LocalSafeL2 = x.Ref
8484
case engine.CrossSafeUpdateEvent:
85-
st.log.Debug("Cross safe head updated", "cross_safe", x.CrossSafe, "local_safe", x.LocalSafe)
85+
// TODO: Fix upstream compatibility for logs.
86+
// <https://app.asana.com/1/1208976916964769/project/1209392461754458/task/1211175327473209?focus=true>
87+
st.log.Info("Cross safe head updated", "cross_safe", x.CrossSafe, "local_safe", x.LocalSafe)
8688
st.data.SafeL2 = x.CrossSafe
8789
st.data.LocalSafeL2 = x.LocalSafe
8890
case derive.DeriverL1StatusEvent:

0 commit comments

Comments
 (0)