aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/plugin/loggingutils
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2011-05-25 15:56:59 +0000
committerDamian Minkov <damencho@jitsi.org>2011-05-25 15:56:59 +0000
commit1deeb60df28ea375a76607c25973c3cef5751966 (patch)
treee1ebba552e56432f56e6d1b79ee1b1a23bd19491 /src/net/java/sip/communicator/plugin/loggingutils
parent8e9072c8fae933e4ecd8c36bb2d7b55e25d78479 (diff)
downloadjitsi-1deeb60df28ea375a76607c25973c3cef5751966.zip
jitsi-1deeb60df28ea375a76607c25973c3cef5751966.tar.gz
jitsi-1deeb60df28ea375a76607c25973c3cef5751966.tar.bz2
Create log file archives in separate thread.
Diffstat (limited to 'src/net/java/sip/communicator/plugin/loggingutils')
-rw-r--r--src/net/java/sip/communicator/plugin/loggingutils/LoggingConfigForm.java18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/plugin/loggingutils/LoggingConfigForm.java b/src/net/java/sip/communicator/plugin/loggingutils/LoggingConfigForm.java
index 0d8471a..f26c20b 100644
--- a/src/net/java/sip/communicator/plugin/loggingutils/LoggingConfigForm.java
+++ b/src/net/java/sip/communicator/plugin/loggingutils/LoggingConfigForm.java
@@ -341,11 +341,25 @@ public class LoggingConfigForm
}
else if(source.equals(archiveButton))
{
- collectLogs();
+ // don't block the UI thread
+ new Thread(new Runnable()
+ {
+ public void run()
+ {
+ collectLogs();
+ }
+ }).start();
}
else if(source.equals(uploadLogsButton))
{
- uploadLogs();
+ // don't block the UI thread
+ new Thread(new Runnable()
+ {
+ public void run()
+ {
+ uploadLogs();
+ }
+ }).start();
}
}