Skip to content

Commit

Permalink
shadowmire.py: update to taoky/shadowmire@4e20615
Browse files Browse the repository at this point in the history
Signed-off-by: Shengqi Chen <[email protected]>
  • Loading branch information
Harry-Chen committed Aug 8, 2024
1 parent 1b97fd4 commit 1683a1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shadowmire.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
from requests.adapters import HTTPAdapter, Retry

LOG_FORMAT = "%(asctime)s %(levelname)s: %(message)s (%(filename)s:%(lineno)d)"
logging.basicConfig(format=LOG_FORMAT)
logger = logging.getLogger("shadowmire")


Expand Down Expand Up @@ -961,7 +960,7 @@ def read_config(
@click.pass_context
def cli(ctx: click.Context, repo: str) -> None:
log_level = logging.DEBUG if os.environ.get("DEBUG") else logging.INFO
logging.basicConfig(level=log_level)
logging.basicConfig(level=log_level, format=LOG_FORMAT)
ctx.ensure_object(dict)

if WORKERS > 10:
Expand Down

0 comments on commit 1683a1d

Please sign in to comment.