check log type & chmod #5