diff src/name/blackcap/clipman/Files.kt @ 47:19d9da731c43

Recoded; cleaned up root namespace, removed race conditions.
author David Barts <n5jrn@me.com>
date Sun, 12 Apr 2020 14:31:06 -0700
parents d14298ef8b0a
children c8ec2d7af3fb
line wrap: on
line diff
--- a/src/name/blackcap/clipman/Files.kt	Mon Feb 10 16:40:09 2020 -0700
+++ b/src/name/blackcap/clipman/Files.kt	Sun Apr 12 14:31:06 2020 -0700
@@ -76,6 +76,8 @@
 }
 
 val LOGGER = run {
+    System.setProperty("java.util.logging.SimpleFormatter.format",
+        "%1\$tFT%1\$tT%1\$tz %2\$s%n%4\$s: %5\$s%6\$s%n")
     LF_DIR.makeIfNeeded()
     Logger.getLogger(LONGNAME).apply {
         addHandler(FileHandler(LOG_FILE.toString()).apply {