This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import txaio | |
| txaio.start_logging(level='debug') | |
| from twisted.python import log | |
| observer = log.PythonLoggingObserver(loggerName=__name__) | |
| observer.start() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ## FORSTWOOF UBUNTU PRESEED :: BUILD SCRIPT | |
| # Quit on first error | |
| set -e | |
| # Temporary directory for the build | |
| TMP="/var/tmp/ubuntu-build" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import logging | |
| import time | |
| logger = logging.getLogger(__name__) | |
| def useful(): | |
| logger.debug('Hello from webapplib!') | |
| time.sleep(0.01) |