Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fix example run-server.sh code.

...

In run-server.sh, change the exec java to something like:

Code Block
exec java \
  -Xmx1024M -Xms512M -XX:+HeapDumpOnOutOfMemoryError$DEBUG_FLAGS \
  -Dorg.eclipse.jetty.level=ERROR -Dorg.eclipse.jetty.websocket.level=ERROR \
  -Djava.util.logging.config.file=/home/wave/wiab-logging \
  -Djava.security.auth.login.config=jaas.config \                                                                                                                                                                                             
  -Dwave.server.config=server.config \
  -jar dist/waveinabox$NAME-server-$WAVEINABOX_VERSION.jar

...

Then create the logging configuration file at the path specified:

Note

TODO: make this only change logging for Wave.

Code Block
handlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler
.level = ALL
java.util.logging.ConsoleHandler.level=ALL
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
org.waveprotocol.level=ALL

...