blog.launchdarkly.com blog.launchdarkly.com

Launched: Enhanced Audit Log Entries

Creating a feature flag is just the start of using feature flags throughout your application. Both temporary (“control”) flags and permanent flags live in a lifecycle. Over time they can change, especially as you use the tenets of Progressive Delivery to expose your flagged features to more users and customers. To give you more visible insight into how your flags change over time, we’ve released enhanced audit log entries for...

mysqlmed.wordpress.com mysqlmed.wordpress.com

Upgrading MySQL to 8.0.12 with Audit plugin.

As a spin-off from the previous post, https://mysqlmed.wordpress.com/2018/08/23/get-the-auditors-in/, I thought that it would be good to see how well the Audit plugin upgrades to MySQL 8. The big change in auditing is that the tables change from MyISAM to InnoDB, so keep your eyes open. I’m using the previously used instance in version 5.7.18. Preparation Before we do anything, let’s make sure auditing will be in place when we...

mysqlmed.wordpress.com mysqlmed.wordpress.com

Get the Auditors in: MySQL Enterprise Audit.

Here I have been looking into using the MySQL Enterprise Edition Audit Log plugin for 5.7. We have many options to audit (filters, encryption, compression, Workbench, rotation & purging, viewing the log, etc.) and it’s quite clear cut on what we’re auditing and not when active. If you’re looking to go deep into the Audit Plugin, as part of the Enterprise Edition, you’ll want to look at the following Support note: Master...

blog.launchdarkly.com blog.launchdarkly.com

Never Read the Comments: Why Comments are Important

In March we visited Atlassian’s new Mountain View offices for our monthly Test in Production Meetup. One of our own software engineers, Traci Lopez, opened the session with a talk on how helpful comments can be for getting visibility into why an event happened the way it did, especially when troubleshooting. Maybe you have a clear understanding of where to go, but if someone’s coming onto your team you get a lot more context of...

Maintaining history of data

  What is this about? I tend to quote Fowler: “Usually when we see properties on a class, they represent questions we can ask of an object now. However there are times when we don’t want to just ask questions about a property of an object now, we also want to ask these questions about some point in the past when things may have changed. “ For example , we want to track every change that occurs at an Employee ( changing name,...

techblog.bozho.net techblog.bozho.net

Custom Audit Log With Spring And Hibernate

If you need to have automatic auditing of all database operations and you are using Hibernate…you should use Envers or spring data jpa auditing. But if for some reasons you can’t use Envers, you can achieve something similar with hibernate event listeners and spring transaction synchronization. First, start with the event listener. You should capture all insert, update and delete operations. But there’s a tricky bit – if you...