X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=python-lttngust%2Flttngust%2Floghandler.py;h=745d96371efe344ca28d3c67b71e4cf94b214dca;hb=60864af02c63fdaaf9264b4f14bfbc9f9fba64bd;hp=406cc58b565025ea23d5959477ab8959153a1dca;hpb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;p=lttng-ust.git diff --git a/python-lttngust/lttngust/loghandler.py b/python-lttngust/lttngust/loghandler.py index 406cc58b..745d9637 100644 --- a/python-lttngust/lttngust/loghandler.py +++ b/python-lttngust/lttngust/loghandler.py @@ -9,9 +9,10 @@ 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.0' + _LIB_NAME = 'liblttng-ust-python-agent.so.' + __soname_major__ def __init__(self): super(self.__class__, self).__init__(level=logging.NOTSET)