Skip to content

Commit

Permalink
change prints to logging.debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lgray authored Mar 12, 2024
1 parent 05c64de commit e93d19a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/fsspec_xrootd/xrootd.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import asyncio
import io
import logging
import os.path
import warnings
from collections import defaultdict
Expand Down Expand Up @@ -824,9 +825,9 @@ def _locate_sources(self, logical_filename: str) -> list[str]:
len(self.fs.valid_sources) == 0
):
hosts.append(clean_address)
print(f"Added host {clean_address} to _hosts")
logging.debug(f"Added host {clean_address} to _hosts")
else:
print(
logging.debug(
f"Host {clean_address} not in valid_sources {self.fs.valid_sources}"
)
if len(hosts) == 0:
Expand Down

0 comments on commit e93d19a

Please sign in to comment.