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

logfile requests #280

Closed
mdcato opened this issue Jun 15, 2020 · 5 comments
Closed

logfile requests #280

mdcato opened this issue Jun 15, 2020 · 5 comments

Comments

@mdcato
Copy link

mdcato commented Jun 15, 2020

I'd like to make three suggestions for the logfile. These will help in troubleshooting user issues.

  1. Add an entry for the nwipe version, i.e. " info: nwipe 0.29.006", preferably as the first line of the logfile. That bit of info is just as important as system, baseboard, chassis, processor info, especially if the user is running an old version of nwipe and the issue has already been resolved.

  2. Similarly, add the Linux/distribution info such as this from "cat /proc/version" from my Fedora system which can help if an issue is distribution-dependent:
    " info: Linux version 5.6.16-300.fc32.x86_64 ([email protected]) (gcc version 10.1.1 20200507 (Red Hat 10.1.1-1) (GCC)) No help footer when running program #1 SMP Thu Jun 4 18:08:38 UTC 2020"

  3. As shown in No help footer when running program #1, right-justify the " info: ", "notice: ", " error: ", etc so that it's easier to visually scan for specific strings (if not using grep), and as our (old-school) teachers used to say "neatness counts".

@PartialVolume
Copy link
Collaborator

I agree with all those suggestions. Are you planning on doing a pull request? In which case I'll assign it to you. If not I can assign it to me.

@mdcato
Copy link
Author

mdcato commented Jun 15, 2020 via email

@PartialVolume
Copy link
Collaborator

No problem, I'll schedule it into v0.29 and assign it to myself. We should releasing 0.29 very soon. I took a bit of a break from nwipe but am planning to get back into it ASAP.

@PartialVolume
Copy link
Collaborator

@mdcato This is next on my list, apologies for the delay, I've been too busy in the last couple of months to catch up with nwipe issues, but am working on it now.

PartialVolume added a commit that referenced this issue Dec 3, 2020
Added ..
[DONE] Right Justify log labels to maintain column alignment [#280](#280)
@PartialVolume
Copy link
Collaborator

Closed by #297

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