[
https://issues.apache.org/jira/browse/ATLAS-4657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj resolved ATLAS-4657.
-------------------------------------
Fix Version/s: 3.0.0
2.4.0
Resolution: Fixed
[~dolfinus] - thank you for this fix in Apache Atlas Python client. This fix
is included [Python client
0.0.13|https://pypi.org/project/apache-atlas/0.0.13/].
> 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
> Fix For: 3.0.0, 2.4.0
>
> 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)