What is the "session" field in Concourse logs? #8951
marco-m-pix4d
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
the majority of
concourse weblogs have a"session"field. For example:I searched in the Concourse source code but could not find the origin.
I found that the logger used by Concourse,
lager, has a feature calledSession(), but as I understand it, is a false positive.I found function
func (b *build) LagerData() lager.Datain fileatc/db/build.goand I was excited for a moment, but it does not add a"session"field.I found something in the Concourse code related to a session with the database, but there also I could not find any place where the
"session"field is added to lager.I found that the SSH server implementation used by Concourse has the notion of a session hash, but here also I think it is a false positive.
I noticed that, given a
build_id, thesessionstring has the same prefix but the length is different over the various events logged.I also noticed that the session field repeats itself after a few days, so to me it might encode somehow a network connection plus something else that makes it slightly more unique...
Any hints ? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions