Comments (9)
One idea would be to show all logs by default. Each line would be prefixed by the task name and the task status.
from kit.
After about 2h of experimentation the issue is still challenging. When your app is working just fine, you just want to see the fact it is fine. Yet once it is faulty, you want to see information that made it faulty.
from kit.
A general option to change in between the two modes -- muxed together and single log stream -- at any point during a task run would be helpful IMO. I prefer to look at one at a time, so the muxing actually confuses me, especially without prefixes or separate colors (like ktail
or kubetail
)
from kit.
To start in demux mode:
CI=1 kit ...
In v0.1.8+, switch while running press:
- 0+Enter - normal (muxed mode)
- 1+Enter - show error logs
- 2+Enter - show warning+ logs
- 3+Enter - show info+ logs
- 4+Enter - show all logs
from kit.
Maybe I'm using the wrong terminology with "mux", sorry about that (I don't use tmux
etc). I've seen the word "interleaved" used by some CLI tools which does describe what I meant, so maybe that's the right term.
As far as I understand, all the log level options still show logs from all concurrent tasks. Whereas seeing a single log stream from a single task is what I'm used to.
from kit.
ok, which task?
from kit.
It would be for any task that has dependencies. Being able to see an individual log stream instead of all of them together.
from kit.
Logs are always saved in logs/taskname.log
. Could you tail that?
from kit.
Yes, I could. That's a workaround though, it would be great if something like that were built-in and I could switch between the modes as needed. Perhaps by using Ctrl
+<some-key>
or Cmd
+<some-key>
(which is a bit more familiar than the 1
+Enter
currently used for log levels)
You mentioned that in your opening comment:
What I actually do is have a second terminal open running
tail -f
. This is poor UX.
That's why I brought it up in this issue specifically
from kit.
Related Issues (20)
- Concise formatting
- `kit doc` document the tasks.yaml HOT 1
- Better output when in error state
- failed to pull image: Error response from daemon: Please run 'docker login' HOT 1
- demo kit
- Comparison to other Task Runners? HOT 9
- Profiles HOT 2
- Conditional tasks HOT 2
- Env file support HOT 1
- Disable watch option HOT 3
- `ARGO_LOG_LEVEL` has no effect HOT 12
- Memory leak? HOT 3
- Custom color and prefix support for logging
- Runs indefinitely when used as an `onCreateCommand` in GH Codespaces HOT 1
- "Memoization" / work avoidance / don't run task if sources haven't changed HOT 4
- `yarn install` task sometimes runs indefinitely inside of Kit HOT 4
- User interface HOT 3
- Local Splunk HOT 1
- Filter logs by individual tasks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kit.