Need some confirmation on how logs work - I've not...
# suitescript
c
Need some confirmation on how logs work - I've noticed my some of my script logs disappearing after only a day. I found a script in a bundle that's got something like 100,000+ logs in the past 2 months. if I'm understanding the docs correctly, that one bundle is eating up all of my logging and is causing other scripts to purge their logs early, right?
e
Yes.
• Within a 60–minute time period, a company is allowed to make up to 100,000 N/log module method calls across all of their scripts.
• System error logs are purged after 60 days, and user-generated logs are purged after 30 days.
c
Thanks, Eric!
1
s
This is one reason we use a ever-so-slightly better logger that supports multiple
logger
instances and independent logging levels for each.
so we can select what gets logged with far more granularity and leave lots of logging turned OFF entirely by default - but it's all there to enable should debugging be needed.