turner2f Posted November 22, 2016 Report Posted November 22, 2016 1) - Can we clear or delete these various logs by directly opening specific Blesta files or the database ? Gateway Email User Logins Transactions CRONS Email Delivery We are concerned with database storage getting bigger and bigger. ===========2) - Is there a way to delete up to a specific date or a certain amount of days ? Quote
0 Michael Posted November 22, 2016 Report Posted November 22, 2016 Settings > system > general > Rotation Policy Quote
0 evolvewh Posted November 22, 2016 Report Posted November 22, 2016 On 11/22/2016 at 6:11 AM, turner2f said: 1) - Can we clear or delete these various logs by directly opening specific Blesta files or the database ? Gateway Email User Logins Transactions CRONS Email Delivery We are concerned with database storage getting bigger and bigger. ===========2) - Is there a way to delete up to a specific date or a certain amount of days ? Expand You can even get answers faster right here: https://docs.blesta.com/display/user/System+>+Automation https://docs.blesta.com/dashboard.action Michael 1 Quote
0 Paul Posted November 22, 2016 Report Posted November 22, 2016 Whatever you do, never delete your cron log. The rotation policy will handle that in a safe way, deleting it manually will cause problems. Some logs are not rotated as part of this policy, like the mail log. The mail log is safe to truncate manually. I don't recommend truncating any other logs. Storage is cheap and unless you have tens of thousands of customers, your database should remain manageable. Michael 1 Quote
0 turner2f Posted November 22, 2016 Author Report Posted November 22, 2016 @Paul OK. So you are saying to only truncate the "Email" logs . 1) - Is it safe to truncate the "User Logins" ?2) - Is the Blesta System already setup to know what logs to truncate, and not to within the "Rotation Policy" ? 3) - Is there a configuration for the "Rotation Policy" within the Admin panel ? Quote
0 Paul Posted November 22, 2016 Report Posted November 22, 2016 On 11/22/2016 at 5:42 PM, turner2f said: 1) - Is it safe to truncate the "User Logins" ? Expand I think so, but I don't recommend it. Having a history of when and from where customers log in can be useful in audits. On 11/22/2016 at 5:42 PM, turner2f said: 2) - Is the Blesta System already setup to know what logs to truncate, and not to within the "Rotation Policy" ? Expand Yes, but there are some logs that are not rotated intentionally, like the mail log and user logins. The mail log has the tendency to get the largest, but has a complete history of all email each customer received, which can be very useful. On 11/22/2016 at 5:42 PM, turner2f said: 3) - Is there a configuration for the "Rotation Policy" within the Admin panel ? Expand Only the retention policy (number of days to keep logs), as Mike mentioned earlier in this thread. Michael 1 Quote
0 turner2f Posted November 22, 2016 Author Report Posted November 22, 2016 @Paul OK. So basically, just setup the "Rotation Policy" for 30 days, and that's all . Correct ? Quote
0 Paul Posted November 22, 2016 Report Posted November 22, 2016 On 11/22/2016 at 6:29 PM, turner2f said: @Paul OK. So basically, just setup the "Rotation Policy" for 30 days, and that's all . Correct ? Expand That's my recommendation yes. Quote
Question
turner2f
1) - Can we clear or delete these various logs by directly opening specific Blesta files or the database ?
Gateway
Email
User Logins
Transactions
CRONS
Email Delivery
We are concerned with database storage getting bigger and bigger.
===========
2) - Is there a way to delete up to a specific date or a certain amount of days ?
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.