add log class and setting