Store the formatted log message, with "{}"s substituted.
This commit is contained in:
parent
3724934615
commit
81f5cfee4a
@ -64,6 +64,6 @@ public class LogbackBufferLoggerAdaptor extends AppenderBase<ILoggingEvent> {
|
|||||||
if (e.getThrowableProxy() != null) {
|
if (e.getThrowableProxy() != null) {
|
||||||
t = ((ThrowableProxy) e.getThrowableProxy()).getThrowable();
|
t = ((ThrowableProxy) e.getThrowableProxy()).getThrowable();
|
||||||
}
|
}
|
||||||
return new LogLine(l, new TraceException(), e.getMessage(), t);
|
return new LogLine(l, new TraceException(), e.getFormattedMessage(), t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ public class SwingStartup {
|
|||||||
|
|
||||||
// Initialize logging first so we can use it
|
// Initialize logging first so we can use it
|
||||||
initializeLogging();
|
initializeLogging();
|
||||||
log.info("Starting up OpenRocket version " + BuildProperties.getVersion());
|
log.info("Starting up OpenRocket version {}", BuildProperties.getVersion());
|
||||||
|
|
||||||
// Check that we're not running headless
|
// Check that we're not running headless
|
||||||
log.info("Checking for graphics head");
|
log.info("Checking for graphics head");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user