Skip to content

Commit

Permalink
Remove logback!
Browse files Browse the repository at this point in the history
  • Loading branch information
srbaker committed Mar 23, 2016
1 parent 079d510 commit 5cacce7
Show file tree
Hide file tree
Showing 21 changed files with 2 additions and 2,532 deletions.
Expand Up @@ -37,10 +37,7 @@ public class Netty4LogBridge
public static void setLogProvider( LogProvider logProvider )
{
// TODO: Undo below hack in next minor/major release
// Netty 4 will look for and use Slf4j if it's on the classpath. In this release (2.3.x),
// it is on the classpath, via `logback-classic`. However, we do not configure logback,
// meaning some debug output leaks to stdout before we replace the logging below.
// This should be fixed properly in the next release that is not a patch release.
// Netty 4 will look for and use Slf4j if it's on the classpath.
PrintStream originalStdOut = System.out;
try
{
Expand Down
554 changes: 0 additions & 554 deletions community/neo4j-harness/LICENSES.txt

Large diffs are not rendered by default.

23 changes: 0 additions & 23 deletions community/neo4j-harness/NOTICE.txt
Expand Up @@ -86,9 +86,6 @@ Eclipse Public License, Version 1.0
Jetty :: Utilities
Jetty :: Webapp Application Support
Jetty :: XML utilities
Logback Access Module
Logback Classic Module
Logback Core Module

GNU General Public License, version 2 with the Classpath Exception
Java Servlet API
Expand All @@ -100,14 +97,6 @@ GNU General Public License, version 2 with the Classpath Exception
jsr311-api
MIME streaming extension

GNU Lesser General Public License, Version 2.1
Logback Access Module
Logback Classic Module
Logback Core Module

MIT License
SLF4J API Module

Mozilla Public License, Version 2.0
Mozilla Rhino

Expand Down Expand Up @@ -150,18 +139,6 @@ Jetty :: XML utilities
Apache Software License, Version 2.0
Eclipse Public License, Version 1.0

Logback Access Module
Eclipse Public License, Version 1.0
GNU Lesser General Public License, Version 2.1

Logback Classic Module
Eclipse Public License, Version 1.0
GNU Lesser General Public License, Version 2.1

Logback Core Module
Eclipse Public License, Version 1.0
GNU Lesser General Public License, Version 2.1

MIME streaming extension
Common Development and Distribution License Version 1.1
GNU General Public License, version 2 with the Classpath Exception
Expand Down
554 changes: 0 additions & 554 deletions community/server/LICENSES.txt

Large diffs are not rendered by default.

23 changes: 0 additions & 23 deletions community/server/NOTICE.txt
Expand Up @@ -85,9 +85,6 @@ Eclipse Public License, Version 1.0
Jetty :: Utilities
Jetty :: Webapp Application Support
Jetty :: XML utilities
Logback Access Module
Logback Classic Module
Logback Core Module

GNU General Public License, version 2 with the Classpath Exception
Java Servlet API
Expand All @@ -98,14 +95,6 @@ GNU General Public License, version 2 with the Classpath Exception
jsr311-api
MIME streaming extension

GNU Lesser General Public License, Version 2.1
Logback Access Module
Logback Classic Module
Logback Core Module

MIT License
SLF4J API Module

Mozilla Public License, Version 2.0
Mozilla Rhino

Expand Down Expand Up @@ -148,18 +137,6 @@ Jetty :: XML utilities
Apache Software License, Version 2.0
Eclipse Public License, Version 1.0

Logback Access Module
Eclipse Public License, Version 1.0
GNU Lesser General Public License, Version 2.1

Logback Classic Module
Eclipse Public License, Version 1.0
GNU Lesser General Public License, Version 2.1

Logback Core Module
Eclipse Public License, Version 1.0
GNU Lesser General Public License, Version 2.1

MIME streaming extension
Common Development and Distribution License Version 1.1
GNU General Public License, version 2 with the Classpath Exception
Expand Down
10 changes: 0 additions & 10 deletions community/server/pom.xml
Expand Up @@ -169,16 +169,6 @@
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>

<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-access</artifactId>
</dependency>

<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
Expand Down
Expand Up @@ -329,9 +329,6 @@ private void setUpHttpLogging()
return;
}

System.out.println("HELLO THERE");
System.out.println(config.get( GraphDatabaseSettings.logs_directory ).toString() );

webServer.setHttpLoggingConfiguration(config.get( GraphDatabaseSettings.logs_directory ),
config.get( http_logging_enabled ) );
}
Expand Down

This file was deleted.

Expand Up @@ -34,7 +34,6 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import ch.qos.logback.access.servlet.TeeFilter;
import org.eclipse.jetty.server.Request;
import org.eclipse.jetty.server.RequestLog;
import org.eclipse.jetty.server.Server;
Expand Down
Expand Up @@ -45,7 +45,7 @@ public interface WebServer

void setHttpsCertificateInformation( KeyStoreInformation config );

void setHttpLoggingConfiguration( File logbackConfig, boolean enableLogging );
void setHttpLoggingConfiguration( File logsDirectory, boolean enableLogging );

void setMaxThreads( int maxThreads );

Expand Down
37 changes: 0 additions & 37 deletions community/server/src/test/resources/neo4j-server-test-logback.xml

This file was deleted.

7 changes: 0 additions & 7 deletions enterprise/ha/pom.xml
Expand Up @@ -152,13 +152,6 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>


<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j-backup</artifactId>
Expand Down
12 changes: 0 additions & 12 deletions enterprise/neo4j-enterprise/pom.xml
Expand Up @@ -293,18 +293,6 @@
<packages>org.neo4j.helpers:org.neo4j.helpers.*</packages>
</group>
</groups>
<additionalDependencies>
<additionalDependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback-classic.version}</version>
</additionalDependency>
<additionalDependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback-classic.version}</version>
</additionalDependency>
</additionalDependencies>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 5cacce7

Please sign in to comment.