[log4j] warning avec property printer
Bonjour,
J'ai ecris la methode suivante pour une application utilisant log4j:
Code:
1 2 3 4 5 6 7 8
| public static void rewriteConfigFile() {
try {
PropertyPrinter pf2 = new PropertyPrinter(new PrintWriter(new File(log4jConfigFileFullPath)));
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
} |
J'obtient de nombreuse fois l'erreur suivante quand je l'execute:
Citation:
log4j:WARN Failed to set property [contentType] to value "text/plain".
Auriez-vous une idee?
Matthias