To help with to debugging and traceability (in alignment with displaying other non-default args such as Command-line arg: dbcache="10000") we can extend the LevelDB opening log with an additional debug message for the used non-default settings.
To avoid showing booleans as e.g. create_if_missing=1, I've added a local ToString lambda for bool.
I wanted to use util::Join at the end, but couldn't find any way that I liked.
Example output after the change:
2025-10-15T02:39:45Z Opened LevelDB successfully
2025-10-15T02:39:45Z [leveldb] startup options: options.compression=NoCompression, options.create_if_missing=true, options.max_file_size=33554432, options.paranoid_checks=true, options.write_buffer_size=524288, readoptions.fill_cache=false, readoptions.verify_checksums=true, writeoptions.sync=true