todoDepends on D4322
linear task: https://linear.app/comm/issue/ENG-1288/properly-handle-the-dynamodb-item-size-limit
Every time we add attachments to the log item, we check if now they are still small enough to be kept in the database, and if they're not, we move their data to the S3.