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

logs not just to file but also to stdout #45

Open
DaBeIDS opened this issue Oct 23, 2023 · 1 comment
Open

logs not just to file but also to stdout #45

DaBeIDS opened this issue Oct 23, 2023 · 1 comment

Comments

@DaBeIDS
Copy link
Collaborator

DaBeIDS commented Oct 23, 2023

extend log storage from file to be on top in stdout in the entry.sh files like in the following post:

https://stackoverflow.com/questions/418896/how-to-redirect-output-to-a-file-and-stdout

@ModeSevenIndustrialSolutions
Copy link
Contributor

We should actually use the Python logging framework. Getting logging sent to STDOUT is important for running on the RedHat Openshift Cluster, as Kikhail explained to me shortly after I joined the project.

An example project using Python's logging framework is this one which I developed:

https://github.com/lfit/releng-python-one-password

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

2 participants