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

log files empty #719

Open
agardnerIT opened this issue Dec 22, 2024 · 2 comments
Open

log files empty #719

agardnerIT opened this issue Dec 22, 2024 · 2 comments
Assignees

Comments

@agardnerIT
Copy link

I'm trying to get the output of runme into a log file but it is empty. This is the content (or a formatted version of it) that I'm looking to push to a log:

runme run --filename install.md --all --skip-prompts --log true --log-file runme5.log
 ►  Running task kind-create...
ERROR: failed to create cluster: node(s) already exist for a cluster with the name "kind"
 ►  𐄂 Task kind-create exited with code 1
could not execute command: failed to run command "kind-create": exit code: 1
runme run --filename install.md --all --skip-prompts --log true --log-file runme5.log

cat runme5.log
@sourishkrout sourishkrout self-assigned this Dec 23, 2024
@sourishkrout
Copy link
Member

Hi @agardnerIT. Thanks for filing this issue. The log here is about Runme-internals. Specifically, it's for the runtime kernel server (aka runtime server).

To be clear, you're looking for the Auto-Save feature we have available for the Notebook UX, but for the CLI, correct? This is in the works. I don't have an ETA yet.

Is it something that's blocking you?

@agardnerIT
Copy link
Author

Thanks for the quick reply!

It's not a blocker if there's another way to see the output / status of runme run (OTEL span output?) but yes, I do need to see the output.

My use case is to run nightly tests of runbooks and I want to send the output to a logging system. From there, if a step fails, I can take some action.

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