Bug 4997 - tllogger object makes logging overly complex
Summary: tllogger object makes logging overly complex
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Peter Åstrand
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-19 13:10 CET by Pierre Ossman
Modified: 2023-11-29 15:49 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2014-02-19 13:10:20 CET
We are making logging unnecessarily complex for ourselves by passing a special logger object around everywhere. Since this object is just a wrapper around Python's own logging module, we might as well use that directly.

That way every component of ThinLinc can easily handle logging without having to worry about how to propagate the logging object the correct way all the way from the initial python file.

The only thing that is in tllogger that is ThinLinc specific is reading settings from hiveconf and configuring the main logging object with destination and format. So that would probably need to be kept around. But everything else can be purged.

Note You need to log in before you can comment on or make changes to this bug.