git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19ed57b
)
JAL-3631 Add property to let log4j know we're not running in a servlet (or it issues...
author
Ben Soares
<b.soares@dundee.ac.uk>
Thu, 27 Jun 2024 21:14:58 +0000
(22:14 +0100)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Thu, 27 Jun 2024 21:14:58 +0000
(22:14 +0100)
src/jalview/bin/Jalview.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Jalview.java
b/src/jalview/bin/Jalview.java
index
6b88cfa
..
0e3b30a
100755
(executable)
--- a/
src/jalview/bin/Jalview.java
+++ b/
src/jalview/bin/Jalview.java
@@
-322,6
+322,8
@@
public class Jalview implements JalviewObjectI
boolean usingLogfile = false;
if (!Platform.isJS())
{
+ // required to ensure log4j doesn't think it's running in a servlet
+ System.setProperty("log4j2.isWebapp", "false");
// are we using a logfile?
String logfilename = System.getProperty("installer.logfile");