mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-12 12:33:18 +00:00
[CST-6265] Fixed message formatting
fix: - message formatting for logInfo was done twice feat: - message inside logWarn was not formatted when using handler
This commit is contained in:
@@ -189,8 +189,7 @@ public class Curation extends DSpaceRunnable<CurationScriptConfiguration> {
|
||||
* @throws FileNotFoundException If file of command line variable -r reporter is not found
|
||||
*/
|
||||
private Curator initCurator() throws FileNotFoundException {
|
||||
Curator curator = new Curator();
|
||||
curator.setLogHandler(handler);
|
||||
Curator curator = new Curator(handler);
|
||||
OutputStream reporterStream;
|
||||
if (null == this.reporter) {
|
||||
reporterStream = new NullOutputStream();
|
||||
|
Reference in New Issue
Block a user