fix log4j to log4j2 issue (#8966)

This commit is contained in:
dahn 2024-04-24 10:08:15 +02:00 committed by GitHub
parent e330d76a72
commit a6f3560152
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,7 +74,8 @@ import org.apache.cloudstack.storage.datastore.db.StoragePoolVO;
import org.apache.cloudstack.utils.bytescale.ByteScaleUtils;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import javax.inject.Inject;
import java.util.ArrayList;
@ -84,7 +85,7 @@ import java.util.List;
import java.util.Map;
public class VolumeImportUnmanageManagerImpl implements VolumeImportUnmanageService {
protected Logger logger = Logger.getLogger(VolumeImportUnmanageManagerImpl.class);
protected Logger logger = LogManager.getLogger(VolumeImportUnmanageManagerImpl.class);
@Inject
private AccountManager accountMgr;