Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't set logging options for roles #1250

Open
cromega opened this issue Nov 25, 2024 · 1 comment
Open

can't set logging options for roles #1250

cromega opened this issue Nov 25, 2024 · 1 comment

Comments

@cromega
Copy link

cromega commented Nov 25, 2024

In a multi-role configuration, global logging configuration hash doesn't work very well. eg: I can't specify role-specific log streams for the aws cloudwatch logger

The following configuration is not possible:

servers:
  web:
    logging:
      driver: awslogs
      options:
        awslogs-stream: app-web
  sidekiq:
    logging:
      driver: awslogs
      options:
        awslogs-stream: app-sidekiq

Without being able to set the stream name, awslogs falls back to the container id, which is not very useful.

@cromega cromega changed the title logging doesn't work with roles can't set logging options for roles Nov 25, 2024
@cromega
Copy link
Author

cromega commented Nov 25, 2024

Ah, my bad, this feature seems to work fine. However, running kamal config doesn't show the correctly merged options. I will leave this issue open until it's fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant