Skip to content

How to redirect process logs to STDOUT? #10281

@behdadkh

Description

@behdadkh

Hello,

Could you please point me to the direction to be able to redirect the logs to STDOUT?

I'm running Druid services within individual Docker containers and each of them are launched by:
bin/run-druid SERVICE_NAME conf/druid/cluster/SERVICE_NAME

So far, I've figured by by-passing Druid supervise script I can take over STDOUT and set AWS Log as my container log driver. This way, I can redirect the logs to Cloudwatch without configuring a process to do the forwarding for me.

But, is this the correct way to achieve this? did I miss something in the docs?

Also, there are lots of bootstrapping happening in Druid supervise script which I rather not to miss.

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