Correct variable name for logtype.