From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D0CBD138BF3 for ; Sun, 16 Feb 2014 16:30:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FB85E0ACB; Sun, 16 Feb 2014 16:30:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B3E0DE0ACB for ; Sun, 16 Feb 2014 16:30:09 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4146333F8B7 for ; Sun, 16 Feb 2014 16:30:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id ABAEA188C8 for ; Sun, 16 Feb 2014 16:30:05 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1392568064.e9c4b6176fcae0ee52ee1aa8112bb6b208c2bea7.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/core.py X-VCS-Directories: roverlay/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: e9c4b6176fcae0ee52ee1aa8112bb6b208c2bea7 X-VCS-Branch: master Date: Sun, 16 Feb 2014 16:30:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2bcad3d9-8fc6-4fcf-8ee4-9b9287069f11 X-Archives-Hash: 1c3c60d3f5bf07f7bb462144dae3374e commit: e9c4b6176fcae0ee52ee1aa8112bb6b208c2bea7 Author: André Erdmann mailerd de> AuthorDate: Sun Feb 16 16:22:23 2014 +0000 Commit: André Erdmann mailerd de> CommitDate: Sun Feb 16 16:27:44 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=e9c4b617 roverlay/core: also log python version on startup --- roverlay/core.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roverlay/core.py b/roverlay/core.py index 414e705..b8fe6a5 100644 --- a/roverlay/core.py +++ b/roverlay/core.py @@ -121,7 +121,12 @@ def load_config_file ( if setup_logger: roverlay.recipe.easylogger.setup ( roverlay_config ) - logging.getLogger().debug ( "roverlay version " + version ) + my_logger = logging.getLogger() + my_logger.debug ( "roverlay version " + version ) + my_logger.debug ( + "python version {0}.{1}.{2}".format ( *sys.version_info ) + ) + del my_logger if not load_main_only: confloader.load_field_definition (