summaryrefslogtreecommitdiff
path: root/src/conn/conn_log.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2013-07-17 14:37:52 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2013-07-17 14:37:52 +1000
commit7e98888e4e043015f6eecdaafe02eea53b465fa8 (patch)
tree5fa54c16bd1a0d6d1171e1a4812fb8580285fa16 /src/conn/conn_log.c
parent08a66e21f980c167f0d65a10bb80ad5160e6da02 (diff)
downloadmongo-7e98888e4e043015f6eecdaafe02eea53b465fa8.tar.gz
Some small fixes / changes to logging to fix the size of records passed to callbacks and avoid error messages in normal operation.
Diffstat (limited to 'src/conn/conn_log.c')
-rw-r--r--src/conn/conn_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn/conn_log.c b/src/conn/conn_log.c
index 752d21da83d..6856c793b31 100644
--- a/src/conn/conn_log.c
+++ b/src/conn/conn_log.c
@@ -31,7 +31,7 @@ __logger_config(WT_SESSION_IMPL *session, const char **cfg, int *runp)
conn->archive = cval.val != 0;
WT_RET(__wt_config_gets(session, cfg, "log.file_max", &cval));
- conn->log_file_max = (uint64_t)cval.val;
+ conn->log_file_max = (off_t)cval.val;
WT_CSTAT_SET(session, log_max_filesize, conn->log_file_max);
WT_RET(__wt_config_gets(session, cfg, "log.path", &cval));