Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3bcdcee

Browse files
d-w-moorealanking
authored andcommitted
[irods#660] do not run logging.basicConfig from library code.
1 parent 24627f4 commit 3bcdcee

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

irods/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ def derived_auth_filename(env_filename):
2828
default_irods_authentication_file = os.path.join(os.path.dirname(env_filename),'.irodsA')
2929
return os.environ.get('IRODS_AUTHENTICATION_FILE', default_irods_authentication_file)
3030

31-
# This has no effect if basicConfig() was previously called.
32-
logging.basicConfig()
33-
3431
logger = logging.getLogger(__name__)
3532
logger.addHandler(logging.NullHandler())
3633
gHandler = None

0 commit comments

Comments
 (0)