Skip to content

Conversation

@tombruijn
Copy link
Member

Truncate logs sent to our internal integrations logger.

We had a report that for a ActionController::BadRequest error the appsignal.log file filled up with the uploaded file, as it's part of the error message.
This will limit the log line length to 2000 characters. We can increase this if needed.

Closes https://github.com/appsignal/support/issues/364

@tombruijn tombruijn self-assigned this Oct 16, 2025
@tombruijn tombruijn added the bug Confirmed and unconfirmed bugs reported by us and customers. label Oct 16, 2025
@tombruijn
Copy link
Member Author

Build failures are unrelated because they also happen on the main branch.

Truncate logs sent to our internal integrations logger.

We had a report that for a `ActionController::BadRequest` error the
appsignal.log file filled up with the uploaded file, as it's part of the
error message.
This will limit the log line length to 2000 characters. We can
increase this if needed.

Closes appsignal/support#364
@tombruijn tombruijn marked this pull request as ready for review October 16, 2025 14:13
Change truncate to truncated in the changeset.

[skip ci]

Co-authored-by: Martin Lipskis <[email protected]>
@tombruijn tombruijn merged commit 58401e3 into main Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Confirmed and unconfirmed bugs reported by us and customers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants