Skip to content

Base logging todo #25109

@c42f

Description

@c42f

Now that #24490 is merged containing the core functionality, there's still a lot of loose ends to tidy up, but at least they can be merged incrementally. Here's a list [edit - organized and sorted by priority]:

Important user-visible changes for 1.0

Core log message generation

User experience / logger backends

Non-API breaking tweaks and bug fixes

Non critical breaking changes

  • Make @show use the logging system so that shown variables can be captured as values rather than text when desired. (Main issue - which log level should this be? debug kinda makes sense, but info is arguably more useful for quick hacking.) Didn't have time to do this before 1.0.
  • Improve @test_logs usage for matching multiple log messages - nicer syntax + be slightly more conservative about features.
  • Clean up @test_logs failure Test.Result type - improve the way test sets capture results.

Wildcards - advice needed

  • Log forwarding from remote workers. In particular people using parallel workloads probably care about this. Pkg2 also uses separate processes extensively, and the tests clearly ended up a bit of a mess, with some logs being captured on stderr from a separate process.

Metadata

Metadata

Assignees

Labels

loggingThe logging framework

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions