Skip to content
This repository was archived by the owner on Apr 12, 2022. It is now read-only.

getLogFile does not account for extra variable in file name #33

Open
8bitbuddhist opened this issue May 8, 2019 · 2 comments
Open

getLogFile does not account for extra variable in file name #33

8bitbuddhist opened this issue May 8, 2019 · 2 comments

Comments

@8bitbuddhist
Copy link

LogDNA archives stored in Google Cloud Storage have an extra two-digit number after the logDate and before the file extension. This results in archives named "[prefix].[date].[number].json.gz". Since the script expects archives named "[prefix].[date].json.gz", this causes the script to fail.

@chrisvaughn
Copy link
Member

Thanks for the report. It looks like the file format changed in Oct 2018. We've stopped running this project on a regular basis so I haven't noticed. I'll see if I can get this updated while we figure out what to do with this project now that we aren't using it internally.

@8bitbuddhist
Copy link
Author

Hey Chris, I added a workaround as part of PR #32. I'm still fairly new to Go so it's probably not the most elegant solution. I appreciate you taking the time to look into it 😄

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

No branches or pull requests

2 participants