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

Timestamps in verbose output are not aligned #1226

Closed
sjakobi opened this Issue Oct 25, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@sjakobi
Contributor

sjakobi commented Oct 25, 2015

Some timestamps are missing the last digit. This makes the affected line stand out, decreasing readability.

Steps to reproduce:
Generate any sufficiently long output with the --verbose flag.

Expected:
The timestamps are all of the same length.

Actual:

$ stack clean --verbose
Version 0.1.7.0, Git revision 4617847506ef78b39d04bac68a7527493a2f9ece (dirty) (2412 commits) x86_64
2015-10-25 13:28:00.359226: [debug] Checking for project config at: /home/simon/test/tasty/stack.yaml @(stack_FHzONQT9HI3ATX2xQH198L:Stack.Config src/Stack/Config.hs:554:9)
2015-10-25 13:28:00.359807: [debug] Loading project config file stack.yaml @(stack_FHzONQT9HI3ATX2xQH198L:Stack.Config src/Stack/Config.hs:577:13)
2015-10-25 13:28:00.362628: [debug] Run process: ldd /home/simon/.local/bin/stack @(stack_FHzONQT9HI3ATX2xQH198L:System.Process.Read src/System/Process/Read.hs:272:3)
2015-10-25 13:28:00.386447: [debug] Trying to decode /home/simon/.stack/build-plan-cache/x86_64-linux/lts-3.10.cache @(stack_FHzONQT9HI3ATX2xQH198L:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:53:5)
2015-10-25 13:28:00.408778: [debug] Success decoding /home/simon/.stack/build-plan-cache/x86_64-linux/lts-3.10.cache @(stack_FHzONQT9HI3ATX2xQH198L:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:62:13)
2015-10-25 13:28:00.409335: [debug] Run process: ghc --info @(stack_FHzONQT9HI3ATX2xQH198L:System.Process.Read src/System/Process/Read.hs:272:3)
2015-10-25 13:28:00.466601: [debug] Run process: ghc --numeric-version @(stack_FHzONQT9HI3ATX2xQH198L:System.Process.Read src/System/Process/Read.hs:272:3)
2015-10-25 13:28:00.50423: [debug] Run process: ghc-pkg --no-user-package-db field --simple-output Cabal version @(stack_FHzONQT9HI3ATX2xQH198L:System.Process.Read src/System/Process/Read.hs:272:3)
2015-10-25 13:28:00.538937: [debug] Run process: ghc-pkg --no-user-package-db list --global @(stack_FHzONQT9HI3ATX2xQH198L:System.Process.Read src/System/Process/Read.hs:272:3)
2015-10-25 13:28:00.572439: [debug] Run process: locale -a @(stack_FHzONQT9HI3ATX2xQH198L:System.Process.Read src/System/Process/Read.hs:272:3)

Here is the stack --version output:

$ stack --version
Version 0.1.7.0, Git revision 4617847506ef78b39d04bac68a7527493a2f9ece (dirty) (2412 commits) x86_64

sjakobi added a commit to sjakobi/stack that referenced this issue Oct 25, 2015

sjakobi added a commit to sjakobi/stack that referenced this issue Oct 25, 2015

@borsboom borsboom added this to the P3: Optional milestone Oct 26, 2015

sjakobi added a commit to sjakobi/stack that referenced this issue Oct 26, 2015

@borsboom borsboom closed this in 33388ad Oct 29, 2015

@borsboom borsboom removed the in progress label Oct 29, 2015

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