Bug 4632 - tlwebadm / tlwebaccess pages doesn't log anything
Summary: tlwebadm / tlwebaccess pages doesn't log anything
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Administration (show other bugs)
Version: 4.0.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Aaron Sowry
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-03 11:33 CEST by Peter Åstrand
Modified: 2015-04-07 10:35 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2013-05-03 11:33:14 CEST
"Pages" in tlwebadm and tlwebaccess frameworks cannot log anything to the service log file (tlwebadm.log/tlwebaccess.log). This is because the pages does not have any reference to the server object. 

Perhaps we should consider using thy standard SocketServer RequestHandler API instead. In that case, we would have a "server" reference. 

See also comment #3 of bug 4561.
Comment 2 Pierre Ossman cendio 2015-04-07 10:35:48 CEST
Initial comment is probably incorrect. You generally don't need to pass the log object around as you can get it indirectly via the python logging module.

We've also discussed logging via syslog which would also simplify this.

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