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

Debug without Date information #185

Open
krizajb opened this issue Aug 10, 2015 · 1 comment
Open

Debug without Date information #185

krizajb opened this issue Aug 10, 2015 · 1 comment
Labels

Comments

@krizajb
Copy link

krizajb commented Aug 10, 2015

I've came across some really long outputs when debugging. It's also true that I've modified the output by aligning columns to the left to make it a bit more readable. What I would suggest is to remove the Date (not time) information and replace it by every day log, log name would be composed of the removed date.

Consider this is issue more of a TODO/Wish type. Let me know if this is something you would be interested in being done by me.

@ongardie
Copy link
Member

Yeah, some of the log output is really long.

I've found the date output useful in the past, especially when looking for log messages around an event that happened a few days prior. Also, if you have multiple server's logs spanning multiple days, you can cat them all together and sort them with the date field, but it wouldn't work without. I guess I'm not sure a configuration option to elide the date would be sufficient: the lines would still be pretty long. To strip out the date, can you just pipe the log through cut -d' ' -f2-?

Long term it'd be cool to have some sort of logging format with sweet tools to process it. But that sounds like a separate project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants