Indices for the log table. Close #213.