[
https://issues.apache.org/jira/browse/ATLAS-4657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17694630#comment-17694630
]
ASF subversion and git services commented on ATLAS-4657:
--------------------------------------------------------
Commit 98900e3492c19d59c5cecbf8a440ae9f01578b31 in atlas's branch
refs/heads/master from Maxim Martynov
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=98900e349 ]
ATLAS-4657: Python client updated to not set root logging settings
Signed-off-by: Madhan Neethiraj <[email protected]>
> Atlas Python client is messing up with logs
> -------------------------------------------
>
> Key: ATLAS-4657
> URL: https://issues.apache.org/jira/browse/ATLAS-4657
> Project: Atlas
> Issue Type: Bug
> Components: atlas-intg
> Affects Versions: 2.1.0
> Reporter: Maxim Martynov
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> After importing {{atlas-client}} Python library, I got all my loggers
> disabled.
> This is caused by this code block:
> [https://github.com/apache/atlas/blob/c1daaa44c3833be31c006753a2cf2f6f2e476cdc/intg/src/main/python/apache_atlas/__init__.py]
> Unlike applications, libraries should not setup logging by themselves. It
> should be done explicitly by code which uses this client. Or there should be
> a function to set up desired logging, which also should be explicitly called
> by application or user.
>
> I've created a pull request to fix this issue:
> [https://github.com/apache/atlas/pull/157]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)