Skip to content

Report "No handlers could be found for logger 'ray.worker' when importing ray #3482

Closed
@xutianming

Description

@xutianming

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux CentOS 7
  • Ray installed from (source or binary): source, latest master
  • Ray version:0.6.0
  • Python version: Anaconda Python 2.7.15
  • Exact command to reproduce: import ray

Describe the problem

Ray reports "No handlers could be found for logger 'ray.worker' " when importing ray.
image

More error messages are printed when calling "ray.init(use_raylet=True)"
image

Source code / logs

An recent pull request #3415 moved setproctitle to ray[debug] and setproctitle is not installed by default.

Without setproctitle installed, the warning message on #L79 should be printed. But logger has not been correctly configured using logging.basicConfig.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions