Added optional ActonType and UserId to Log