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

Adding support for error logs #267

Merged
merged 1 commit into from
Jan 10, 2023
Merged

Adding support for error logs #267

merged 1 commit into from
Jan 10, 2023

Conversation

Mzack9999
Copy link
Member

Example

$ echo http://abcd | go run . -elog errors -v
$ cat errors
{"timestamp":"2023-01-10T00:16:14.318912+01:00","endpoint":"http://abcd","error":"GET http://abcd giving up after 2 attempts: Get \"http://abcd\": no address found for host"}

Closes #211

@Mzack9999 Mzack9999 added the Type: Enhancement Most issues will probably ask for additions or changes. label Jan 10, 2023
@Mzack9999 Mzack9999 self-assigned this Jan 10, 2023
@Mzack9999 Mzack9999 linked an issue Jan 10, 2023 that may be closed by this pull request
@ehsandeep ehsandeep merged commit 5c578ce into dev Jan 10, 2023
@ehsandeep ehsandeep deleted the issue-211-err-log branch January 10, 2023 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to write error logs to file
2 participants