Logging in Julia: Logging stdlib and LoggingExtras.jl

07/28/2023, 7:30 PM — 8:00 PM UTC
26-100

Abstract:

This talk will go into how to use julia's Logging standard library, in particular into how to configure it using LoggingExtras.jl. LoggingExtras.jl is a suite of extra functionality on top of the Logging standard library to make configuring log handling simpler. Primarily it works by separating all the ways you can configure the logger into a series of composable objects with only one function: filtering, splitting, transforming. This allow for easy and comprehensive control of logging.

Description:

LoggingExtras was developed in 2018. Its functionality has only had minimal changes since then, but a bit of polish and proving. In 2022 it had its 1.0 release.

The main focus of this talk will be on the practicalities of configuring logging for larger applications and libraries. Things like turning on Debug logging for a particular package, or muting warnings within a particular function.

The talk will also go into some discussion of how the Logging standard library works, and why it works that way. It will conclude with some commentary on issues with the current design and discussion of the future.

Platinum sponsors

JuliaHub

Gold sponsors

ASML

Silver sponsors

Pumas AIQuEra Computing Inc.Relational AIJeffrey Sarnoff

Bronze sponsors

Jolin.ioBeacon Biosignals

Academic partners

NAWA

Local partners

Postmates

Fiscal Sponsor

NumFOCUS