Revision 23de68fc
Added by Andreas Müller almost 2 years ago
cdmlib-remote-webapp/src/main/java/eu/etaxonomy/cdm/remote/staticSwagger/StaticSwaggerApiDoc.java | ||
---|---|---|
16 | 16 |
import javax.servlet.http.HttpServletResponse; |
17 | 17 |
|
18 | 18 |
import org.apache.commons.io.IOUtils; |
19 |
import org.apache.log4j.Logger; |
|
19 |
import org.apache.logging.log4j.LogManager; |
|
20 |
import org.apache.logging.log4j.Logger; |
|
20 | 21 |
import org.springframework.stereotype.Controller; |
21 | 22 |
import org.springframework.web.bind.annotation.PathVariable; |
22 | 23 |
import org.springframework.web.bind.annotation.RequestMapping; |
... | ... | |
41 | 42 |
@Controller |
42 | 43 |
public class StaticSwaggerApiDoc { |
43 | 44 |
|
44 |
public static final Logger logger = Logger.getLogger(StaticSwaggerApiDoc.class); |
|
45 |
public static final Logger logger = LogManager.getLogger(StaticSwaggerApiDoc.class);
|
|
45 | 46 |
|
46 | 47 |
public static final String SWAGGER_STATIC = "swagger-static"; |
47 | 48 |
public static final String JSON = ".json"; |
Also available in: Unified diff
ref #9359 upgrade cdmlib to log4j 2