You are here: com.dtsearch.engine Package > Constants > DebugLogFlags Class > DebugLogFlags.dtsLogCommit Field
Close
dtSearch Engine API for Java
DebugLogFlags.dtsLogCommit Field

The log will be committed to disk after each line is written.

Syntax
Java
public static final int dtsLogCommit = 2;

This slows execution considerably but ensures that the log will survive a system crash.

Copyright (c) 1998-2019 dtSearch Corp. All rights reserved.