Fixed logger

This commit is contained in:
ChronosX88 2019-03-11 20:54:56 +04:00
parent 911a6151a3
commit 5b27661c2d
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A
3 changed files with 2 additions and 10 deletions

View File

@ -1,9 +0,0 @@
<component name="ArtifactManager">
<artifact type="jar" name="Kademlia-Bootstrap-Node.main:jar">
<output-path>$PROJECT_DIR$/out/artifacts/Kademlia_Bootstrap_Node_main_jar</output-path>
<root id="archive" name="Kademlia-Bootstrap-Node.main.jar">
<element id="module-output" name="Kademlia-Bootstrap-Node.main" />
<element id="extracted-dir" path="$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.8.5/f645ed69d595b24d4cf8b3fbb64cc505bede8829/gson-2.8.5.jar" path-in-jar="/" />
</root>
</artifact>
</component>

View File

@ -14,8 +14,8 @@ repositories {
}
dependencies {
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'net.tomp2p:tomp2p-all:5.0-Beta8'
implementation 'org.slf4j:slf4j-log4j12:+'
}
jar {

View File

@ -19,6 +19,7 @@ public class Main {
public static void main(String[] args) {
props = new Properties();
org.apache.log4j.BasicConfigurator.configure();
File dataDir = new File(DATA_DIR_PATH);
File config = new File(DATA_DIR_PATH + "config.properties");
try {