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

Log size handling #6

Open
rokgregoric opened this issue Aug 3, 2022 · 4 comments
Open

Log size handling #6

rokgregoric opened this issue Aug 3, 2022 · 4 comments

Comments

@rokgregoric
Copy link

The log size handling is wrong .. it is based on the number of lines before being encoded.

I see some logs not being uploaded and a log of errors like:

error=errorReceived(GoogleCloudLogging.GoogleCloudLogging.Response.Error(code: 400, message: "Request payload size exceeds the limit: 10485760 bytes.", status: "INVALID_ARGUMENT")) [GoogleCloudLogging] Unable to upload 
excludedLogEntryCount=4 maxLogSize=10000000 [GoogleCloudLogging] Some log entries are excluded from the upload due to exceeding the log size limit
@xpnewmedia
Copy link

@rokgregoric
did you continue using this lib despite those errors and missed logs?
did you fix?

@rokgregoric
Copy link
Author

Forked, fixed it and still using it. Works great!

@xpnewmedia
Copy link

xpnewmedia commented Nov 28, 2022 via email

@rokgregoric
Copy link
Author

rokgregoric commented Nov 29, 2022

Here you go: https://github.com/rokgregoric/GoogleCloudLogging
I use this in production environments for a few months without problems.

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