Skip to content

Commit cbe0dc1

Browse files
committed
fix: replace logger names to use __name__
1 parent 9f7ac17 commit cbe0dc1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

abacusnbody/hod/menv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
DEFAULT_BATCH_SIZE = 10**5
1919

20-
logger = logging.getLogger(__file__)
20+
logger = logging.getLogger(__name__)
2121

2222

2323
def do_Menv_from_tree(

abacusnbody/hod/prepare_sim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
DEFAULTS = {}
3737
DEFAULTS['path2config'] = 'config/abacus_hod.yaml'
3838

39-
logger = logging.getLogger(__file__)
39+
logger = logging.getLogger(__name__)
4040

4141

4242
# ------------------------------------------------------------

0 commit comments

Comments
 (0)