Home Bug Reports

Ice.Application has special behaviour for LoggerI, not using the interface

PaulSmeckerPaulSmecker Member Paul SmeckerOrganization: PersonalProject: Data synchronisation with multiple clients
in Ice.Application.java:
in function main:
Util.setProcessLogger(new LoggerI(initData.properties.getProperty("Ice.ProgramName"),""));
should be
Util.setProcessLogger(Util.getProcessLogger().cloneWithPrefix(initData.properties.getProperty("Ice.ProgramName"));

This way every Logger created by a LoggerFactory would be initiated with the ProgramName
Sign In or Register to comment.