log was not recording the type of log opened