Beispiel #1
0
def setup_logging(verbosity_level, save_debug_log):
    setup_root_logger()
    setup_console_logging(verbosity_level)
    if save_debug_log:
        setup_debug_logging_to_file()
    logger = logging.getLogger('mopidy.utils.log')
    logger.info(u'Starting Mopidy %s on %s %s',
        get_version(), get_platform(), get_python())
Beispiel #2
0
def setup_logging(verbosity_level, save_debug_log):
    setup_root_logger()
    setup_console_logging(verbosity_level)
    if save_debug_log:
        setup_debug_logging_to_file()
    logger = logging.getLogger('mopidy.utils.log')
    logger.info(u'Starting Mopidy %s on %s %s',
        get_version(), get_platform(), get_python())
Beispiel #3
0
 def test_get_python_contains_python_version(self):
     self.assert_(platform.python_version() in get_python())
Beispiel #4
0
 def test_get_python_contains_python_implementation(self):
     self.assert_(platform.python_implementation() in get_python())
Beispiel #5
0
 def test_get_python_contains_python_version(self):
     self.assert_(platform.python_version() in get_python())
Beispiel #6
0
 def test_get_python_contains_python_implementation(self):
     self.assert_(platform.python_implementation() in get_python())