summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2013-11-21 17:26:48 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2013-11-21 17:26:48 +1100
commitf23871f3949a2bf7f5e874bfbc2b5d89d68ebae9 (patch)
treeee91dfa18908e6c67cfdcac32162df4475878f1d /dist
parent5d1c4134abdc342e4e9ae49f79eca658910946f5 (diff)
downloadmongo-f23871f3949a2bf7f5e874bfbc2b5d89d68ebae9.tar.gz
Switch log_printf to use a log record in the same format as transactional operations, update "wt printlog" to print all log record types.
refs #605
Diffstat (limited to 'dist')
-rw-r--r--dist/log_data.py6
-rw-r--r--dist/s_define.list1
2 files changed, 3 insertions, 4 deletions
diff --git a/dist/log_data.py b/dist/log_data.py
index 2ab5379b1f2..64fe73a88a2 100644
--- a/dist/log_data.py
+++ b/dist/log_data.py
@@ -25,14 +25,14 @@ rectypes = [
# Common case: a transaction commit
LogRecordType('commit', [('uint64', 'txnid')]),
- # Debugging message in the log
- LogRecordType('debug', [('string', 'message')]),
-
# Mark the start / end of a file sync operation (usually when a file is
# closed). These log records aren't required during recovery, but we use
# the allocated LSN to reduce the amount of work recovery has to do, and
# they are useful for debugging recovery.
LogRecordType('file_sync', [('uint32', 'fileid'), ('int', 'start')]),
+
+ # Debugging message in the log
+ LogRecordType('message', [('string', 'message')]),
]
class LogOperationType:
diff --git a/dist/s_define.list b/dist/s_define.list
index 3c97194ab95..e3d1d2593e1 100644
--- a/dist/s_define.list
+++ b/dist/s_define.list
@@ -22,7 +22,6 @@ WT_CACHE_LINE_ALIGNMENT
WT_DEBUG_BYTE
WT_HANDLE_CLOSED
WT_HANDLE_NULLABLE
-WT_LOGREC_DEBUG
WT_READ_BARRIER
WT_REF_SIZE
WT_RET_TIMEDOUT_OK