mirror of
https://github.com/ChronosX88/Influence-Bootstrap-Node.git
synced 2024-11-24 16:22:18 +00:00
Fixed logger
This commit is contained in:
parent
911a6151a3
commit
5b27661c2d
@ -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>
|
|
@ -14,8 +14,8 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.google.code.gson:gson:2.8.5'
|
|
||||||
implementation 'net.tomp2p:tomp2p-all:5.0-Beta8'
|
implementation 'net.tomp2p:tomp2p-all:5.0-Beta8'
|
||||||
|
implementation 'org.slf4j:slf4j-log4j12:+'
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
|
@ -19,6 +19,7 @@ public class Main {
|
|||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
props = new Properties();
|
props = new Properties();
|
||||||
|
org.apache.log4j.BasicConfigurator.configure();
|
||||||
File dataDir = new File(DATA_DIR_PATH);
|
File dataDir = new File(DATA_DIR_PATH);
|
||||||
File config = new File(DATA_DIR_PATH + "config.properties");
|
File config = new File(DATA_DIR_PATH + "config.properties");
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user