mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-05-30 12:04:39 -04:00
Improve logging
This commit is contained in:
parent
f700c427a6
commit
b4edbe2986
4 changed files with 16 additions and 6 deletions
|
@ -99,10 +99,12 @@ public class BitsquareApp extends Application {
|
|||
@Override
|
||||
public void start(Stage primaryStage) throws IOException {
|
||||
String logPath = Paths.get(env.getProperty(BitsquareEnvironment.APP_DATA_DIR_KEY), "bitsquare").toString();
|
||||
Log.setup(logPath, !IS_RELEASE_VERSION);
|
||||
|
||||
Log.setup(logPath);
|
||||
log.info("Log files under: " + logPath);
|
||||
Version.printVersion();
|
||||
Utilities.printSysInfo();
|
||||
Log.setLevel(!IS_RELEASE_VERSION);
|
||||
|
||||
UserThread.setExecutor(Platform::runLater);
|
||||
UserThread.setTimerClass(UITimer.class);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue