-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More tweaks to new logging implementation.
- Loading branch information
Kevin Armengol
committed
May 31, 2023
1 parent
8aa68ed
commit 5ea754d
Showing
41 changed files
with
339 additions
and
2,213 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
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 |
---|---|---|
@@ -1,5 +1,2 @@ | ||
# from get_version import get_version | ||
# __version__ = get_version(__file__) | ||
|
||
# import logging.config | ||
# logging.config.fileConfig('/configs/logging/logging.yaml') |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import logging | ||
from ddcuimap.utils.setup_logging import log_setup | ||
|
||
from ddcuimap.utils.logger.config_logging import setup_log, log, copy_log | ||
|
||
# CREATE LOGGER | ||
log_setup() | ||
logger = logging.getLogger("curation_logger") | ||
logger.propagate = False | ||
setup_log() | ||
cur_logger = logging.getLogger("curation_logger") | ||
# logger.propagate = False | ||
cur_logger.info("Initiating ddcuimap.curation logger.") |
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
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
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
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
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
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
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 |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import logging | ||
from ddcuimap.utils.setup_logging import log_setup | ||
|
||
from ddcuimap.utils.logger.config_logging import setup_log, log, copy_log | ||
|
||
# CREATE LOGGER | ||
log_setup() | ||
logger = logging.getLogger("hydra_search_logger") | ||
logger.propagate = False | ||
logger.info("Initiating ddcuimap.hydra_search logging.") | ||
setup_log() | ||
hydra_logger = logging.getLogger("hydra_search_logger") | ||
hydra_logger.info("Initiating ddcuimap.hydra_search logger.") |
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
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 |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import logging | ||
from ddcuimap.utils.setup_logging import log_setup | ||
|
||
from ddcuimap.utils.logger.config_logging import setup_log, log, copy_log | ||
|
||
# CREATE LOGGER | ||
log_setup() | ||
logger = logging.getLogger("metamap_logger") | ||
logger.propagate = False | ||
logger.info("Initiating ddcuimap.metamap logging.") | ||
setup_log() | ||
mm_logger = logging.getLogger("metamap_logger") | ||
mm_logger.info("Initiating ddcuimap.metamap logger.") |
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
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
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
Oops, something went wrong.