X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=python-lttngust%2Flttngust%2Floghandler.py;h=745d96371efe344ca28d3c67b71e4cf94b214dca;hb=6ba6fd60507f8e045bdc4f1be14e9d99c6a15f7f;hp=e82cf5c5091bc5c53a68bf08b248d2f038a300a3;hpb=5b6ff569c0bf82b72f263a259e7a73a453903648;p=lttng-ust.git diff --git a/python-lttngust/lttngust/loghandler.py b/python-lttngust/lttngust/loghandler.py index e82cf5c5..745d9637 100644 --- a/python-lttngust/lttngust/loghandler.py +++ b/python-lttngust/lttngust/loghandler.py @@ -1,28 +1,18 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2015 - Philippe Proulx -# Copyright (C) 2014 - David Goulet +# SPDX-License-Identifier: LGPL-2.1-only # -# This library is free software; you can redistribute it and/or modify it under -# the terms of the GNU Lesser General Public License as published by the Free -# Software Foundation; version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, but WITHOUT -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more -# details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +# Copyright (C) 2015 Philippe Proulx +# Copyright (C) 2014 David Goulet from __future__ import unicode_literals import logging import ctypes +from .version import __soname_major__ class _Handler(logging.Handler): - _LIB_NAME = 'liblttng-ust-python-agent.so' + _LIB_NAME = 'liblttng-ust-python-agent.so.' + __soname_major__ def __init__(self): super(self.__class__, self).__init__(level=logging.NOTSET)