Where do tracing logs turned on with logging set-level go?

25 views
Skip to first unread message

Ian Wienand

unread,
Feb 9, 2023, 11:48:48 PM2/9/23
to Repo and Gerrit Discussion
Hello,

I'm trying to test a change to add more logging points to ssh from

https://gerrit-review.googlesource.com/c/gerrit/+/357694

locally [1]

I have built with the change. I have enabled it with

gerrit logging set-level TRACE
com.google.gerrit.sshd.ChannelIdTrackingUnknownChannelReferenceHandler

and I can see it setup in logging ls-level

com.google.gerrit.sshd.ChannelIdTrackingUnknownChannelReferenceHandler: TRACE

However I can't see any trace messages in either the sshd_log or the
error_log [2]?

I feel like I might be missing something with the logging
configuration, or maybe something to do with fluent logging --
"atFinest()" corresponds to "TRACE" in the gerrit settings, right?

Any suggestions welcome :)

-i

[1] https://review.opendev.org/c/opendev/system-config/+/873214
[2] https://23e42f49b5d3b255e52d-d8379e0ccf627447a3b387fca2d2f44a.ssl.cf2.rackcdn.com/873214/6/check/system-config-run-review-3.6/d12fed3/review99.opendev.org/logs/

Reply all
Reply to author
Forward
0 new messages