We just realized any records older than 30 days in...
# box-products
j
We just realized any records older than 30 days in our log tables created by a logbox dbappender were getting wiped. After looking at the
DBAppender.cfc
, it turns out that the
rotate
property is defaulted to
true
and the
rotationDays
property is defaulted to
30
for dbappenders. We weren't aware that these properties even existed since they aren't listed along with the other properties like
table
,
dsn
, etc. in the docs for the DBAppender. We added
rotate = false
to our appender properties and the problem is fixed. Easy enough. But wanted to mention it to see if the docs should be updated to prevent anyone else from running into this unexpectedly.
r
Like ColdBox, the docs are open source so you can edit them and contribute back.
👍 1
j
Well all right then. I'll do that.
Not 100% sure what I'm doing but seems straight forward enough. I just added the properties in question to the docs and created a pull request.
❤️ 1
🙌 1
l
Richard #1 thankssssss
Nice
Thanks
r
@lmajano I try my best 😉