fix: BeannameGenerator 적용

logback 에러 로그 설정 적용
dev
minuk926 3 years ago
parent 452c31cf01
commit d85dd15ff6

@ -11,7 +11,7 @@ public class CustomBeanNameGenerator implements BeanNameGenerator {
public @NonNull String generateBeanName(@NonNull BeanDefinition definition, @NonNull BeanDefinitionRegistry registry) {
final String result;
result = generateFullBeanName((AnnotatedBeanDefinition)definition);
System.out.println(result);
//System.out.println(result);
return result;
}

@ -129,9 +129,10 @@
<!-- Application logging setting -->
<!-- ============================================================================= -->
<!-- <logger name="com.xit" level="error" additivity="false">-->
<!-- <appender-ref ref="ASYNC_ERROR_ROLLING"/>-->
<!-- </logger>-->
<logger name="com.xit" level="error" additivity="false">
<appender-ref ref="CONSOLE"/>
<springProfile name="dev,prod"><appender-ref ref="ASYNC_ERROR_ROLLING"/></springProfile>
</logger>
<logger name="com.xit" level="info" additivity="false">
<appender-ref ref="CONSOLE"/>

Loading…
Cancel
Save