Skip to content

Commit

Permalink
Merge pull request #965 from lkiesow/t/mh-13627-update-logger
Browse files Browse the repository at this point in the history
MH-13627, Update Logger
  • Loading branch information
staubesv committed Jun 19, 2019
2 parents 77ec720 + c060235 commit 9c83853
Show file tree
Hide file tree
Showing 23 changed files with 3 additions and 112 deletions.
5 changes: 0 additions & 5 deletions modules/asset-manager-impl/pom.xml
Expand Up @@ -141,11 +141,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<!-- https://github.com/MutabilityDetector/MutabilityDetector -->
<dependency>
<groupId>org.mutabilitydetector</groupId>
Expand Down
5 changes: 0 additions & 5 deletions modules/asset-manager-storage-aws/pom.xml
Expand Up @@ -78,11 +78,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions modules/capture-admin-service-impl/pom.xml
Expand Up @@ -80,11 +80,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions modules/common-jpa-impl/pom.xml
Expand Up @@ -31,11 +31,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<!-- Testing -->
<dependency>
<groupId>junit</groupId>
Expand Down
4 changes: 0 additions & 4 deletions modules/composer-ffmpeg/pom.xml
Expand Up @@ -87,10 +87,6 @@
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
Expand Up @@ -73,8 +73,7 @@ public class EncoderEngine implements AutoCloseable {
/** If true STDERR and STDOUT of the spawned process will be mixed so that both can be read via STDIN */
private static final boolean REDIRECT_ERROR_STREAM = true;

/** the logging facility provided by log4j */
private static Logger logger = LoggerFactory.getLogger(EncoderEngine.class.getName());
private static Logger logger = LoggerFactory.getLogger(EncoderEngine.class);
/** the encoder binary */
private String binary = "ffmpeg";
/** Set of processes to clean up */
Expand Down
Expand Up @@ -50,7 +50,6 @@
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.io.IOUtils;
import org.apache.log4j.BasicConfigurator;
import org.easymock.Capture;
import org.easymock.EasyMock;
import org.easymock.IAnswer;
Expand Down Expand Up @@ -133,7 +132,6 @@ private static File getFile(final String path) throws Exception {
public void setUp() throws Exception {
// Skip tests if FFmpeg is not installed
Assume.assumeTrue(ffmpegInstalled);
BasicConfigurator.configure();
engine = new EncoderEngine(FFMPEG_BINARY);

File f = getFile("/video.mp4");
Expand Down
Expand Up @@ -64,7 +64,6 @@

import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.apache.log4j.BasicConfigurator;
import org.easymock.Capture;
import org.easymock.EasyMock;
import org.easymock.IAnswer;
Expand Down Expand Up @@ -138,7 +137,6 @@ public void setUp() throws Exception {
// Skip tests if FFmpeg is not installed

Assume.assumeTrue(ffmpegInstalled);
BasicConfigurator.configure();
workingDirectory = FileSupport.getTempDirectory("processSmiltest");
FileUtils.forceMkdir(workingDirectory);

Expand Down
4 changes: 0 additions & 4 deletions modules/cover-image-impl/pom.xml
Expand Up @@ -47,10 +47,6 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<dependency>
<groupId>org.apache.xmlgraphics</groupId>
<artifactId>batik-anim</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions modules/db/pom.xml
Expand Up @@ -34,11 +34,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions modules/distribution-service-aws-s3/pom.xml
Expand Up @@ -80,11 +80,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
Expand Up @@ -45,11 +45,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions modules/event-comment/pom.xml
Expand Up @@ -77,11 +77,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions modules/ingest-service-impl/pom.xml
Expand Up @@ -97,11 +97,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions modules/publication-service-youtube-v3/pom.xml
Expand Up @@ -123,11 +123,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions modules/search-service-impl/pom.xml
Expand Up @@ -112,11 +112,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions modules/search/pom.xml
Expand Up @@ -310,11 +310,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
5 changes: 0 additions & 5 deletions modules/series-service-impl/pom.xml
Expand Up @@ -77,11 +77,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions modules/solr/pom.xml
Expand Up @@ -75,11 +75,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions modules/themes/pom.xml
Expand Up @@ -52,11 +52,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions modules/userdirectory-ldap/pom.xml
Expand Up @@ -96,11 +96,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
5 changes: 0 additions & 5 deletions modules/userdirectory/pom.xml
Expand Up @@ -109,11 +109,6 @@
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
15 changes: 2 additions & 13 deletions pom.xml
Expand Up @@ -1056,23 +1056,12 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.21</version>
<version>1.7.26</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.21</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.6.4</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<scope>test</scope>
<version>1.7.26</version>
</dependency>
<!-- apache commons syncing -->
<dependency>
Expand Down

0 comments on commit 9c83853

Please sign in to comment.