Add log_format attribute