You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
klieret opened this issue
Jul 31, 2023
· 4 comments
Labels
bugSomething that is supposed to be working; but isn'tcoreIssues that should be addressed in Ray CoretriageNeeds triage (eg: priority, bug/not-bug, and owning component)
Simply importing ray hides all log messages in the newest ray version when importing a logger.
This is a new issue with ray 2.6.xx (I can confirm that this issue does not appear with 2.5.1).
This sounds somewhat similar to #17374, but here ray isn't even initialized (and the solution presented there does not work).
Versions / Dependencies
ray 2.6.1 (not an issue with 2.5.1)
py 3.11.3
Reproduction script
Create file log.py:
importlogginglogger=logging.getLogger("test")
Create file test_log.py:
fromlogimportlogger# import raylogger.critical("This is bad")
Executing test_log.py like this causes the log message to be shown (as expected).
However, uncommenting import ray, no more log message is shown.
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered:
klieret
added
bug
Something that is supposed to be working; but isn't
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
labels
Jul 31, 2023
bugSomething that is supposed to be working; but isn'tcoreIssues that should be addressed in Ray CoretriageNeeds triage (eg: priority, bug/not-bug, and owning component)
What happened + What you expected to happen
Simply importing ray hides all log messages in the newest ray version when importing a logger.
This is a new issue with ray 2.6.xx (I can confirm that this issue does not appear with 2.5.1).
This sounds somewhat similar to #17374, but here ray isn't even initialized (and the solution presented there does not work).
Versions / Dependencies
Reproduction script
Create file
log.py
:Create file
test_log.py
:Executing
test_log.py
like this causes the log message to be shown (as expected).However, uncommenting
import ray
, no more log message is shown.Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: