Clean up this handler. You can remove the application name from the registry as a source of event log entries. However, if you do this, you will not be able to see the events as you intended in the Event Log Viewer - it needs to be able to access the registr
(self)
| 1213 | self.handleError(record) |
| 1214 | |
| 1215 | def close(self): |
| 1216 | """ |
| 1217 | Clean up this handler. |
| 1218 | |
| 1219 | You can remove the application name from the registry as a |
| 1220 | source of event log entries. However, if you do this, you will |
| 1221 | not be able to see the events as you intended in the Event Log |
| 1222 | Viewer - it needs to be able to access the registry to get the |
| 1223 | DLL name. |
| 1224 | """ |
| 1225 | #self._welu.RemoveSourceFromRegistry(self.appname, self.logtype) |
| 1226 | logging.Handler.close(self) |
| 1227 | |
| 1228 | class HTTPHandler(logging.Handler): |
| 1229 | """ |