Ticket #5083: 5083-00-fix-logging-import.patch

File 5083-00-fix-logging-import.patch, 571 bytes (added by ivank, 5 years ago)

fix

  • 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 log.startLogging(sys.stdout) 
    5454        </pre>
    5555      or:
    5656        <pre class="python">
    57 from twisted.python.logging import DailyLogFile
     57from twisted.python.logfile import DailyLogFile
    5858
    5959log.startLogging(DailyLogFile.fromFullPath("/var/log/foo.log"))
    6060        </pre>