optimized inspect storage by adding read_length method to LOG type module