add log component