When enabling monitoring, the logs will be output to a file(empty-dir) and collected by the sidecar by default. It's easy to generate a large number of logs when a component is in an abnormal state, which can occupy the host disk volume. To avoid the situation, we should also set the log rotation when using self-monitoring.