Only 10 local variables are logged per stacktrace entry

I’m using sentry with an AWS lambda containing python code. It seems that only a subset of all the local variables are logged (at most 10 per entry in the stacktrace). Is there some option I can pass so that all local variables are logged?

I think this is the default option:

Hi @teodor, this is a long-standing issue in the Python SDK:

The issue is that we cannot send arbitrarily large event data, so we just have to cut off data at some point. I suggest to log additional data you’re interested in using the methods provided at