3535import org .tron .common .overlay .discover .Node ;
3636import org .tron .core .Constant ;
3737import org .tron .core .Wallet ;
38- import org .tron .core .db .AccountStore ;
3938import org .tron .core .config .Configuration ;
39+ import org .tron .core .db .AccountStore ;
4040
4141@ Slf4j
4242@ NoArgsConstructor
@@ -185,9 +185,11 @@ public static void clearParam() {
185185 */
186186 public static void setParam (final String [] args , final String configFile ) {
187187 Config config ;
188+ logger .info (configFile );
188189 JCommander .newBuilder ().addObject (INSTANCE ).build ().parse (args );
189190 if ("" == INSTANCE .confFile ) {
190191 config = Configuration .getByPath (configFile );
192+ logger .info (configFile );
191193 } else {
192194 config = Configuration .getByPath (INSTANCE .confFile );
193195 }
@@ -211,10 +213,12 @@ public static void setParam(final String[] args, final String configFile) {
211213 }
212214
213215 INSTANCE .storage = new Storage ();
216+ logger .info ("abc" );
217+ logger .info (INSTANCE .storageDirectory );
214218 INSTANCE .storage .setDirectory (Optional .ofNullable (INSTANCE .storageDirectory )
215219 .filter (StringUtils ::isNotEmpty )
216220 .orElse (config .getString ("storage.directory" )));
217-
221+ logger . info ( INSTANCE . storage . getDirectory ());
218222 INSTANCE .seedNode = new SeedNode ();
219223 INSTANCE .seedNode .setIpList (Optional .ofNullable (INSTANCE .seedNodes )
220224 .filter (seedNode -> 0 != seedNode .size ())
0 commit comments