﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
15277	fix JCS logging	bastiK	team	"If possible, the JCS library should be configured to use JOSM's logging system. Currently there is output which is formatted differently, but only for jar files build on the server. When running a local build, I do not get this output.

The setup in `JCSCacheManager` seems to have no effect. [https://josm.openstreetmap.de/jenkins/job/JOSM/jdk=JDK8/3252/findbugsResult/HIGH/package.1158742308/ Findbugs] complains about logger being garbage collected, but keeping a hard reference doesn't fix it.

Output at startup:
{{{
Using /usr/lib/jvm/java-9-openjdk-amd64/bin/java to execute josm-latest.
2017-09-09 11:31:22.291 INFO: Log level is at INFO (INFO, 800)
2017-09-09 11:31:23.458 INFO: Detected useable IPv6 network, prefering IPv6 over IPv4.
2017-09-09 11:31:30.653 INFO: GET https://josm.openstreetmap.de/wiki/StartupPage -> 200
2017-09-09 11:31:32.044 INFO: GET https://josm.openstreetmap.de/maps -> 200
[INFO] CompositeCacheManager - Instance is null, returning unconfigured instance
[WARN] ThreadPoolManager - No configuration settings found.  Using hardcoded default values for all pools.
[INFO] CompositeCacheManager - Setting default auxiliaries to null
[INFO] CompositeCacheManager - setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
[INFO] CompositeCacheManager - setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = false, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1504949494755, LastAccessTime = 1504949494755, getTimeToLiveSeconds() = -1, createTime = 1504949494755 ]
[INFO] CompositeCacheConfigurator - Parsed regions []
[INFO] CompositeCacheManager - Finished configuration in 27 ms.
[INFO] CompositeCacheConfigurator - No special ElementAttribute class defined for key [jcs.region.TMS.elementattributes], using default class.
[INFO] AbstractDoubleLinkedListMemoryCache - initialized MemoryCache for TMS
[INFO] CompositeCache - Constructed cache with name [TMS] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 0, maxSpoolPerRun = -1, diskUsagePattern = UPDATE, spoolChunkSize = 2 ]
[INFO] BlockDiskCache - Region [TMS_BLOCK_v2] Constructing BlockDiskCache with attributes 
BlockDiskAttributes 
 DiskPath [$HOME/.cache/JOSM-latest/tiles]
 MaxKeySize [524288]
 MaxPurgatorySize [5000]
 BlockSizeBytes [4096]
 KeyPersistenceIntervalSeconds [300]
 DiskLimitType [SIZE]
[INFO] BlockDiskCache - Region [TMS_BLOCK_v2] Cache file root directory: [$HOME/.cache/JOSM-latest/tiles]
[INFO] BlockDisk - Constructing BlockDisk, blockSizeBytes [4096]
[INFO] BlockDiskKeyStore - Region [TMS_BLOCK_v2] Cache file root directory [$HOME/.cache/JOSM-latest/tiles]
[INFO] BlockDiskKeyStore - Region [TMS_BLOCK_v2] Key File [$HOME/.cache/JOSM-latest/tiles/TMS_BLOCK_v2.key]
[INFO] BlockDiskKeyStore - Region [TMS_BLOCK_v2] Loading keys for $HOME/.cache/JOSM-latest/tiles/TMS_BLOCK_v2.key
[INFO] BlockDiskKeyStore - Region [TMS_BLOCK_v2] Set maxKeySize to: '524288'
[INFO] BlockDiskKeyStore - Region [TMS_BLOCK_v2] Loaded keys from [TMS_BLOCK_v2], key count: 488; up to 524288 will be available.
[INFO] BlockDiskCache - Region [TMS_BLOCK_v2] Block Disk Cache is alive.
}}}"	defect	closed	normal	17.09	Core imagery		fixed		wiktorn
