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)
| 1233 | self.handleError(record) |
| 1234 | |
| 1235 | def close(self): |
| 1236 | """ |
| 1237 | Clean up this handler. |
| 1238 | |
| 1239 | You can remove the application name from the registry as a |
| 1240 | source of event log entries. However, if you do this, you will |
| 1241 | not be able to see the events as you intended in the Event Log |
| 1242 | Viewer - it needs to be able to access the registry to get the |
| 1243 | DLL name. |
| 1244 | """ |
| 1245 | #self._welu.RemoveSourceFromRegistry(self.appname, self.logtype) |
| 1246 | logging.Handler.close(self) |
| 1247 | |
| 1248 | class HTTPHandler(logging.Handler): |
| 1249 | """ |