mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-13 10:45:51 +00:00
Use 24 hour clock in brieflogs
This commit is contained in:
parent
b7f1d72b60
commit
1da3a01194
@ -27,7 +27,7 @@ import java.util.logging.*;
|
||||
* A Java logging formatter that writes more compact output than the default.
|
||||
*/
|
||||
public class BriefLogFormatter extends Formatter {
|
||||
private static final MessageFormat messageFormat = new MessageFormat("{3,date,hh:mm:ss} {0} {1}.{2}: {4}\n{5}");
|
||||
private static final MessageFormat messageFormat = new MessageFormat("{3,date,HH:mm:ss} {0} {1}.{2}: {4}\n{5}");
|
||||
|
||||
// OpenJDK made a questionable, backwards incompatible change to the Logger implementation. It internally uses
|
||||
// weak references now which means simply fetching the logger and changing its configuration won't work. We must
|
||||
|
Loading…
x
Reference in New Issue
Block a user