Add log management