Skip to content

Migrating from 1.8 to 2.0

Benjamin König edited this page Aug 3, 2024 · 22 revisions

Migrating from Getdown 1.8 to 2.0

General

  • groupId and package changed from com.threerings.getdown to io.github.bekoenig.getdown
  • minimum runtime is java 8
  • standalone jar for getdown-core and -launcher have classifier jar-with-dependencies
  • disabled obfuscation and compression with proguard for better troubleshooting

Logging

  1. For a better integration of getdown-core and logging customization, logging has moved to slf4j using logback.

  2. Some log levels have new identifiers:

  • WARNING is now WARN
  • SEVERE is now ERROR
  1. Parameters in logging message are inserted using placeholders.

  2. Additional parameters are logged without square brackets:

  • Before: 2024/01/13 14:53:30.606 INFO info [key1=value1, key2=value2]
  • Now: 2024/01/13 14:53:30.606 INFO info key1=value1 key2=value2
  1. The resulting failure exception is logged with timestamp and level:
2024/01/20 07:17:25.105 ERROR Exception in thread "Getdown" 
java.lang.RuntimeException: m.missing_appbase
  at io.github.bekoenig.getdown.data.Application.initBase(Application.java:655)
  at ...
  1. Process outputs are passed directly to logging

  2. On enabled debugging mode (debug=true), standard outputs from process are logged at debug level

Clone this wiki locally