From 2f1642f76887f1e802064e36c7e67c0eda69ed9b Mon Sep 17 00:00:00 2001 From: Andrew Nguyen Date: Mon, 5 Feb 2018 18:13:35 -0500 Subject: [PATCH] Logging Added --- build.gradle | 1 + build/resources/main/kill_geth_popup.fxml | 25 ---- build/resources/main/logger.properties | 1 + out/production/resources/kill_geth_popup.fxml | 25 ---- out/production/resources/logger.properties | 1 + src/main/java/build_structure/Build.java | 102 ++++++++------ src/main/java/build_structure/Commands.java | 46 ++++-- .../build_structure/Permission_Commands.java | 14 +- .../java/build_structure/Structure_Check.java | 41 +++--- src/main/java/rpc/RPC.java | 28 ++-- ...opy_Popup.java => Copy_Address_Popup.java} | 4 +- src/main/java/ui/Global.java | 132 +++++++++++------- src/main/java/ui/Init.java | 89 +++++++----- .../ui/{Mining.java => Mining_Popup.java} | 2 +- ...ew_Account.java => New_Account_Popup.java} | 3 +- .../ui/controllers/Dashboard_Controller.java | 115 ++++++++------- .../ui/controllers/Kill_Geth_Controller.java | 26 ---- .../java/ui/controllers/Mine_Controller.java | 9 +- .../controllers/New_Account_Controller.java | 8 +- .../ui/controllers/Personal_Controller.java | 26 +++- .../java/ui/controllers/Send_Controller.java | 11 +- src/main/java/utils/Utils.java | 46 +++--- src/main/java/web3j/Blocks.java | 64 +++------ src/main/java/web3j/Gas.java | 31 ++-- src/main/java/web3j/Mine.java | 12 +- src/main/java/web3j/Peers.java | 23 --- src/main/java/web3j/Personal.java | 14 +- src/main/java/web3j/Setup.java | 24 +++- src/main/java/web3j/Subscribe.java | 11 +- src/main/java/web3j/Syncing.java | 44 +++--- src/main/java/web3j/Tx.java | 69 +++------ src/main/java/web3j/Wallet.java | 28 ---- src/main/java/web3j/accounts/Account.java | 8 -- src/main/java/web3j/accounts/Accounts.java | 38 ++--- src/main/resources/kill_geth_popup.fxml | 25 ---- src/main/resources/logger.properties | 1 + 36 files changed, 545 insertions(+), 602 deletions(-) delete mode 100644 build/resources/main/kill_geth_popup.fxml create mode 100644 build/resources/main/logger.properties delete mode 100644 out/production/resources/kill_geth_popup.fxml create mode 100644 out/production/resources/logger.properties rename src/main/java/ui/{Copy_Popup.java => Copy_Address_Popup.java} (83%) rename src/main/java/ui/{Mining.java => Mining_Popup.java} (90%) rename src/main/java/ui/{New_Account.java => New_Account_Popup.java} (91%) delete mode 100755 src/main/java/ui/controllers/Kill_Geth_Controller.java delete mode 100755 src/main/java/web3j/Peers.java delete mode 100755 src/main/java/web3j/Wallet.java delete mode 100644 src/main/resources/kill_geth_popup.fxml create mode 100644 src/main/resources/logger.properties diff --git a/build.gradle b/build.gradle index 87ca0c3..936e29d 100644 --- a/build.gradle +++ b/build.gradle @@ -34,5 +34,6 @@ dependencies { compile('org.web3j:core:3.2.0') compile group: 'commons-io', name: 'commons-io', version: '2.4' compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.10.0' + compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.10.0' compile 'de.codecentric.centerdevice:centerdevice-nsmenufx:2.1.5' } diff --git a/build/resources/main/kill_geth_popup.fxml b/build/resources/main/kill_geth_popup.fxml deleted file mode 100644 index ae5ee99..0000000 --- a/build/resources/main/kill_geth_popup.fxml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - -