Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup remaining old log4j references #661

Merged
merged 1 commit into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ import java.util.HashSet
import java.util.Collections
import java.util.List
import org.eclipse.core.runtime.Platform
import org.apache.log4j.Logger
import org.apache.logging.log4j.Logger
import org.apache.logging.log4j.LogManager

class VitruvApplicationsRegistry {
public static String EXTENSION_POINT_ID = "tools.vitruv.framework.applications.application"
static Logger LOGGER = Logger.getLogger(VitruvApplicationsRegistry)
static Logger LOGGER = LogManager.getLogger(VitruvApplicationsRegistry)

@Accessors(PUBLIC_GETTER)
static VitruvApplicationsRegistry instance = new VitruvApplicationsRegistry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
import java.util.Map;
import java.util.Map.Entry;

import org.apache.log4j.Logger;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.Resource;
Expand All @@ -36,7 +37,7 @@
import tools.vitruv.framework.vsum.helper.VsumFileSystemLayout;

class ResourceRepositoryImpl implements ModelRepository {
private static final Logger LOGGER = Logger.getLogger(ResourceRepositoryImpl.class);
private static final Logger LOGGER = LogManager.getLogger(ResourceRepositoryImpl.class);

private final ResourceSet modelsResourceSet = withGlobalFactories(new ResourceSetImpl());
private final Map<URI, ModelInstance> modelInstances = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
import java.util.LinkedList;
import java.util.List;

import org.apache.log4j.Logger;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;

Expand All @@ -30,7 +31,7 @@
import tools.vitruv.framework.vsum.helper.VsumFileSystemLayout;

public class VirtualModelImpl implements InternalVirtualModel {
private static final Logger LOGGER = Logger.getLogger(VirtualModelImpl.class);
private static final Logger LOGGER = LogManager.getLogger(VirtualModelImpl.class);

private final ModelRepository resourceRepository;
private final ViewTypeProvider viewTypeRepository;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package tools.vitruv.framework.vsum.internal

import java.io.IOException
import org.apache.log4j.Logger
import org.apache.logging.log4j.LogManager
import org.eclipse.emf.common.util.URI
import org.eclipse.emf.ecore.EObject
import org.eclipse.emf.ecore.resource.Resource
Expand All @@ -10,7 +10,7 @@ import org.eclipse.xtend.lib.annotations.Accessors
import static com.google.common.base.Preconditions.checkArgument

class ModelInstance {
static val LOGGER = Logger.getLogger(ModelInstance)
static val LOGGER = LogManager.getLogger(ModelInstance)
@Accessors(PUBLIC_GETTER)
Resource resource

Expand Down
Loading