Skip to content

Remove the LogFactory class from the python module#4034

Merged
nrwahl2 merged 4 commits intoClusterLabs:mainfrom
clumens:no-logger-factory
Feb 11, 2026
Merged

Remove the LogFactory class from the python module#4034
nrwahl2 merged 4 commits intoClusterLabs:mainfrom
clumens:no-logger-factory

Conversation

@clumens
Copy link
Contributor

@clumens clumens commented Jan 26, 2026

No description provided.

@clumens clumens requested a review from nrwahl2 January 26, 2026 14:30
This is the first step in getting rid of the LogFactory class entirely.
First, we'll just duplicate all its functions as module-level functions
and then modify those in the class to use the same global variables.

Ref T680
It can just access the module-level functions from the logging module
instead.

Ref T680
Nothing is using it anymore, and it wasn't even an especially good
factory class.  Instead we can just use global variables and
module-level functions to do the same thing.

Ref T680
@nrwahl2 nrwahl2 merged commit 41c1b53 into ClusterLabs:main Feb 11, 2026
1 check passed
@clumens clumens deleted the no-logger-factory branch February 11, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants