Skip to content

Log size handling #6

@rokgregoric

Description

@rokgregoric

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions