Reducing the complexity of log management