-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not setup logging in libraries (#233)
- Loading branch information
Showing
2 changed files
with
0 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ | |
# Copyright: (c) 2019, Jordan Borean (@jborean93) <[email protected]> | ||
# MIT License (see LICENSE or https://opensource.org/licenses/MIT) | ||
|
||
import logging | ||
|
||
import smbclient.path | ||
from smbclient._io import SEEK_CUR, SEEK_END, SEEK_SET | ||
from smbclient._os import ( | ||
|
@@ -45,6 +43,3 @@ | |
register_session, | ||
reset_connection_cache, | ||
) | ||
|
||
logger = logging.getLogger(__name__) | ||
logger.addHandler(logging.NullHandler()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,6 @@ | |
# Copyright: (c) 2019, Jordan Borean (@jborean93) <[email protected]> | ||
# MIT License (see LICENSE or https://opensource.org/licenses/MIT) | ||
|
||
import logging | ||
from logging import NullHandler | ||
|
||
logger = logging.getLogger(__name__) | ||
logger.addHandler(NullHandler()) | ||
|
||
|
||
MAX_PAYLOAD_SIZE = 65536 | ||
|
||
|
||
|