Bug 4632 - tlwebadm / tlwebaccess pages doesn't log anything
: tlwebadm / tlwebaccess pages doesn't log anything
Status: NEW
: ThinLinc
Web Administration
: 4.0.0
: PC Unknown
: P2 Normal
: MediumPrio
Assigned To:
  Show dependency treegraph
Reported: 2013-05-03 11:33 by
Modified: 2015-04-07 10:35 (History)
Acceptance Criteria:



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

Description From cendio 2013-05-03 11:33:14
"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 From cendio 2015-04-07 10:35:48 -------
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.