• Stavros Sachtouris's avatar
    Allow activation/deactivation of specific loggers · 9dc724e5
    Stavros Sachtouris authored
    refs: #3715
    Logger settings are not aborted and will be restored at deactivation
    Also, remove all logger creation functionality from kamaki.clients
    A file or stream logger should be created an the kamaki.clients caller side
    In this case, the caller is kamaki.cli
    Kamaki.cli should handle where and how the loggers will output. Kamaki.clients
    will log as __name__ and the two extras: kamaki.clients.send/recv
    An external app can now import kamaki and create a logger named "kamaki" and
    this will log whatever kamaki is logging. The external app will handle loggers
    as they wish.
__init__.py 14.7 KB