Improve the sanity of the replication logging
Merge pull request #492 from tremble/repl_log

Improve the sanity of the replication logging (generate_include_map)