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 --log-timestamps flag for console output #1009

Closed
alecthomas opened this issue Mar 4, 2024 · 0 comments
Closed

Add a --log-timestamps flag for console output #1009

alecthomas opened this issue Mar 4, 2024 · 0 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@alecthomas
Copy link
Collaborator

alecthomas commented Mar 4, 2024

Sometimes it's convenient to have timing information in the console output.

cc @lamchau

@alecthomas alecthomas added the good first issue Good for newcomers label Mar 4, 2024
@github-actions github-actions bot added the triage Issue needs triaging label Mar 4, 2024
@alecthomas alecthomas mentioned this issue Mar 2, 2024
@alecthomas alecthomas removed the triage Issue needs triaging label Mar 4, 2024
@matt2e matt2e self-assigned this Mar 6, 2024
matt2e added a commit that referenced this issue Mar 6, 2024
#1009
Adding `add --log-timestamps` include timestamps in terminal logs

Example
```
16:26:20 info: Starting FTL with 1 controller(s) and 0 runner(s)
16:26:20 warn: Detected change in +/Users/mtoohey/Code/ftl/examples/go/echo/go.sum, rebuilding...
16:26:20 error: Error deploying module /Users/mtoohey/Code/ftl/examples/go/echo. Will retry: module "time" not found
16:26:20 warn: Detected change in +/Users/mtoohey/Code/ftl/examples/go/time/time.go, rebuilding...
16:26:20 info:time: Building module
```
@matt2e matt2e closed this as completed Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants