implement auto_identify in logserver.