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

Fun with logging #34

Closed
brianmhunt opened this issue Aug 26, 2014 · 1 comment
Closed

Fun with logging #34

brianmhunt opened this issue Aug 26, 2014 · 1 comment

Comments

@brianmhunt
Copy link

A possibly preferable style of logging might be a single-line with completion status and time stamp, along the lines of this:

[time] [filename] ... [completion] ([ms])

e.g. When a transfer starts:

2014-08-04 10:05:11am /home/bmh/some/file

And update that line when it completes:

2014-08-04 10:05:11am /home/bmh/some/file ... Complete (155ms)

An alternative to adding a "Complete" text-notification may be to color the line green on completion (indicating success) or red on failure. It would still be helpful to have the upload-time included.

I think this would make the output easier to read, and condense the output.

Cheers

@yongkangchen
Copy link
Owner

👌 Good advice.

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