2
0
Fork 0

wip commit

This commit is contained in:
Willem Cazander 2012-05-14 22:01:04 +02:00
parent 7c044adb1f
commit 3f31bb8a3a
9 changed files with 118 additions and 51 deletions

View file

@ -1,4 +1,30 @@
#
#
# Vasc Demo Tech logging config.
#
# Only log to a file
handlers=java.util.logging.FileHandler
# default file output is in startup directory.
java.util.logging.FileHandler.pattern=logs/vasc-demo-tech.log
java.util.logging.FileHandler.limit=0
java.util.logging.FileHandler.count=1
java.util.logging.FileHandler.encoding=UTF8
java.util.logging.FileHandler.formatter=net.forwardfire.vasc.demo.tech.ui.PatternLogFormatter
# The PatternLogFormatter lets you customise the log output;
# %d = Formated date string %s =-Source method
# %l = Logger level %c = Source Class
# %n = Logger name %C = Source Class Simple
# %m = Logger message %S = Stacktrace
# %t = Thread ID %r = Return/newline
#net.forwardfire.vasc.demo.tech.ui.PatternLogFormatter.log_pattern=%d %l [%C.%s] %m%r
#net.forwardfire.vasc.demo.tech.ui.PatternLogFormatter.log_error_pattern=%d %l [%C.%s] %m%r%S
#net.forwardfire.vasc.demo.tech.ui.PatternLogFormatter.date_pattern=yyyy-MM-dd HH:mm:ss
# Default global logging level.
.level=INFO
# Different log levels for packages.
net.forwardfire.vasc.demo.level=INFO

View file

@ -0,0 +1,6 @@
gui=true
editor=true
contextPath=/demo
host=localhost
port=8899

View file

@ -32,7 +32,7 @@ set MAIN_CLASS=net.forwardfire.vasc.demo.tech.ui.TechUI
set CP=lib\*
:: Launch application
java %JAVA_OPTS% -cp "%CP%" %MAIN_CLASS% -gui
java %JAVA_OPTS% -cp "%CP%" %MAIN_CLASS%
endlocal
:: EOF

View file

@ -32,7 +32,7 @@ MAIN_CLASS="net.forwardfire.vasc.demo.tech.ui.TechUI";
CP=`echo lib/*.jar | sed 's/ /:/g'`;
# Launch application
$JAVA $JAVA_OPTS -cp $CP $MAIN_CLASS -gui;
$JAVA $JAVA_OPTS -cp $CP $MAIN_CLASS;
# EOF