-
Notifications
You must be signed in to change notification settings - Fork 33
[Logging] Streamline logging methodologies #600
Copy link
Copy link
Open
Labels
bugSomething isn't working - expected behaviour is incorrectSomething isn't working - expected behaviour is incorrectcode healthNice to have code improvementNice to have code improvementtoolingtooling to support development, testing et altooling to support development, testing et al
Milestone
Metadata
Metadata
Assignees
Labels
bugSomething isn't working - expected behaviour is incorrectSomething isn't working - expected behaviour is incorrectcode healthNice to have code improvementNice to have code improvementtoolingtooling to support development, testing et altooling to support development, testing et al
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Backlog
Objective
Document/consolidate/fix all the different ways of labelling.
Origin Document
While debugging, I found myself looking at this screen and am unsure why things are different as a core contributor to the project:
Example:
This logline:
p.logger.Info().Int64("height", p.Height).Msg("About to release context")Has this output:
{"level":"info","module":"persistence","height":0,"time":"2023-03-22T16:14:03Z","message":"About to release context"}This logline:
m.logger.Warn().Fields(m.sharedLoggingFields()).Msgf("⏰ Interrupt ⏰ due to: %s", reason)Has this output:
level=WARN ⏰ Interrupt ⏰ due to: pacemaker timeout height=0 module=pacemaker round=7 step=1Goals
Deliverable
Non-goals / Non-deliverables
General issue deliverables
Testing Methodology
make test_allLocalNetis still functioning correctly by following the instructions at docs/development/README.mdCreator: @Olshansk
Co-Owners: @okdas