Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/ChartInfoGenerator.java @ 9726:0a5239a1e46e 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 02 Mar 2022 10:26:50 +0100 |
parents | 5e38e2924c07 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
22 | 22 |
23 import java.awt.image.BufferedImage; | 23 import java.awt.image.BufferedImage; |
24 | 24 |
25 import org.w3c.dom.Document; | 25 import org.w3c.dom.Document; |
26 | 26 |
27 import org.apache.log4j.Logger; | 27 import org.apache.logging.log4j.Logger; |
28 import org.apache.logging.log4j.LogManager; | |
28 | 29 |
29 import org.jfree.chart.ChartRenderingInfo; | 30 import org.jfree.chart.ChartRenderingInfo; |
30 import org.jfree.chart.JFreeChart; | 31 import org.jfree.chart.JFreeChart; |
31 | 32 |
32 import org.dive4elements.artifacts.Artifact; | 33 import org.dive4elements.artifacts.Artifact; |
53 public static final boolean USE_NOP_GRAPHICS = | 54 public static final boolean USE_NOP_GRAPHICS = |
54 Boolean.getBoolean("info.rendering.nop.graphics"); | 55 Boolean.getBoolean("info.rendering.nop.graphics"); |
55 | 56 |
56 /** The log used in this generator.*/ | 57 /** The log used in this generator.*/ |
57 private static Logger log = | 58 private static Logger log = |
58 Logger.getLogger(ChartInfoGenerator.class); | 59 LogManager.getLogger(ChartInfoGenerator.class); |
59 | 60 |
60 | 61 |
61 /** The OutGenerator that creates the charts.*/ | 62 /** The OutGenerator that creates the charts.*/ |
62 protected ChartGenerator generator; | 63 protected ChartGenerator generator; |
63 | 64 |