Ticket #5083: 5083-00-fix-logging-import.patch
| File 5083-00-fix-logging-import.patch, 0.6 KB (added by ivank, 2 years ago) |
|---|
-
doc/core/howto/logging.xhtml
diff --git a/doc/core/howto/logging.xhtml b/doc/core/howto/logging.xhtml index d38634c..2e510ba 100644
a b 54 54 </pre> 55 55 or: 56 56 <pre class="python"> 57 from twisted.python.log gingimport DailyLogFile57 from twisted.python.logfile import DailyLogFile 58 58 59 59 log.startLogging(DailyLogFile.fromFullPath("/var/log/foo.log")) 60 60 </pre>
