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

allow outputting a directory tree of logs that follows the shell function stack #804

Open
andychu opened this issue Jul 25, 2020 · 2 comments

Comments

@andychu
Copy link
Contributor

andychu commented Jul 25, 2020

"automatic, hierarchical logging that follows shell function stack"

All the spew from build/dev.sh all got me thinking about this.

It would be nice to retain logs, but in a more structured way that doesn't have spew.

I can see this being very useful for continuous builds. They want to save lots and not "shut things up". And in fact "toil" saves a lot of logs on its own. The shell could fairly easily do this


Example: each of these would gets its own file. And then there is some UI on top of it. It's directory tree of logs.

build() {
   build-yajl
   build-libc
}

test() {
  tests-to-run | xargs -- $0 run-one-test
}

main() {
  build
  test
}
@andychu
Copy link
Contributor Author

andychu commented Jul 25, 2020

Another way to phrase this is to fix the fact that you write shell scripts in YAML with .travis.yaml

The only reason to do this is separate logging!!

@andychu
Copy link
Contributor Author

andychu commented Jan 11, 2021

This is pretty much #583 and related to #882

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

No branches or pull requests

1 participant