"console" as logdir will direct log stream to standard out
This commit is contained in:
parent
8e86be7c60
commit
2a08d8150f
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ public abstract class IServer {
|
|||
public static Logger getLogger () {
|
||||
if (logger == null) {
|
||||
String logDir = sysProps.getProperty ("logdir");
|
||||
if (logDir == null) {
|
||||
if (logDir == null || "console".equalsIgnoreCase (logDir)) {
|
||||
logger = new Logger (System.out);
|
||||
} else {
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue