-
Notifications
You must be signed in to change notification settings - Fork 2
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
- groupId and package changed from
com.threerings.getdown
toio.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
-
For a better integration of getdown-core and logging customization, logging has moved to slf4j using logback.
-
Some log levels have new identifiers:
- WARNING is now WARN
- SEVERE is now ERROR
-
Parameters in logging message are inserted using placeholders.
-
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
- 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 ...
-
Process outputs are passed directly to logging
-
On enabled debugging mode (debug=true), standard outputs from process are logged at debug level