X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=python-lttngust%2Flttngust%2Floghandler.py;h=745d96371efe344ca28d3c67b71e4cf94b214dca;hb=50d2bb48d09d5b6ae23185e8f916152e2371d04a;hp=406cc58b565025ea23d5959477ab8959153a1dca;hpb=3d3dc207c16d90ecd80eb1e757fe8b94ff317c63;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)