﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
16547	[PATCH] Display log messages with log levels `warn` and higher in the console	floscher	team	"**Current behaviour (since [https://josm.openstreetmap.de/changeset/14052/josm#file15 r14052])**
Only log messages of exactly INFORMATION are displayed in the console, log levels WARN and ERROR are hidden.

**Desired behaviour**
All log messages of the current log level or higher levels are displayed

**Cause**
The new class `ReacquiringConsoleHandler` extends `ConsoleHandler` and implicitly calls the superconstructor. The superconstructor initializes the output stream with `System.err`.
If `ReacquiringConsoleHandler` is now [https://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/tools/Logging.java?rev=14052#L133 instantiated with a different] `OutputStream` the method `ConsoleHandler.setOutputStream()` will flush and close `System.err`. Since log levels WARNING and higher are output to `System.err`, this prevents log messages for those log levels from appearing.

**Solution**
Let the method `ReacquiringConsoleHandler.setOutputStream()` do nothing as long as the superconstructor has not completed."	defect	closed	normal	18.08	Core		fixed	regression	michael2402 floscher ris
