If that’s the entire log4j.properties file it looks like you’re never actually creating a logger. You need a line like:
log4j.rootLogger=debug,A1
More Related Contents:
- logging with AOP in spring?
- What causes “java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name ‘command’ available as request attribute”?
- @RequestParam vs @PathVariable
- Spring Security : Multiple HTTP Config not working
- Redirect to an external URL from controller action in Spring MVC
- Difference between @Valid and @Validated in Spring
- Spring Boot Multiple Datasource
- Spring Boot configure and use two data sources
- Increase HTTP Post maxPostSize in Spring Boot
- Filtering database rows with spring-data-jpa and spring-mvc
- Spring MVC type conversion : PropertyEditor or Converter?
- Spring Boot JSP 404
- Spring Boot with redirecting with single page angular2
- Jackson 2.0 with Spring 3.1
- Redirect in Spring MVC
- Set System Property With Spring Configuration File
- Annotation Configuration Replacement for mvc:resources – Spring
- Spring MVC – @Valid on list of beans in REST service
- Spring MVC – AngularJS – File Upload – org.apache.commons.fileupload.FileUploadException
- Spring: define @RequestMapping value in a properties file
- How to reload a @Value property from application.properties in Spring? [duplicate]
- Is it possible to have empty RequestParam values use the defaultValue?
- Difference between Interceptor and Filter in Spring MVC
- how to send an array in url request
- Spring @Value annotation always evaluating as null?
- Why does Jackson 2 not recognize the first capital letter if the leading camel case word is only a single letter long?
- Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
- How I create an error handler (404, 500…) in Spring Boot/MVC
- Spring-MVC 406 Not Acceptable instead of JSON Response
- What does the @Valid annotation indicate in Spring?