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

Add a way to print a message per Component and Host #391

Open
frlan opened this issue Sep 21, 2023 · 0 comments
Open

Add a way to print a message per Component and Host #391

frlan opened this issue Sep 21, 2023 · 0 comments

Comments

@frlan
Copy link
Member

frlan commented Sep 21, 2023

There are scenarios, where in libraries like batou_ext the default behaviour will change in future. A common way of doing it is to print a message informing a user about it.

Something like

class MyComponent(Component):
    def configure(self):
        self.log("Warning: Will be changed") 

might do the trick, but having a deployment with a big number of hosts it might get's quiet noisy.

It would be cool to have a build-in way to print one message only for the hosts the component actually is activated on only one time.

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