The log file format changed in the Berkeley DB 4.6 release.
The format of Hash database pages was changed in the Berkeley DB 4.6 release, and items are now stored in sorted order. The format changes are entirely backward-compatible, and no database upgrades are needed. However, upgrading existing databases can offer significant performance improvements. Note that databases created using the 4.6 release may not be usable with earlier Berkeley DB releases.
For further information on upgrading Berkeley DB installations, see Upgrading Berkeley DB installations.