Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable logback ConsoleAppender in Spring Boot not work #5978

Closed
coffeesweet opened this issue May 17, 2016 · 3 comments
Closed

disable logback ConsoleAppender in Spring Boot not work #5978

coffeesweet opened this issue May 17, 2016 · 3 comments
Labels
for: stackoverflow A question that's better suited to stackoverflow.com

Comments

@coffeesweet
Copy link

coffeesweet commented May 17, 2016

I want disable logback ConsoleAppender in Spring Boot (1.3.3.RELEASE),but not work, i search in issues and do it same. #1612

the "2016-05-17 12:22:57.651 INFO 8892 --- [ main] com.zhangyue.helloworld.App : ===============================" out in console all the time

Attach :
src: logtest.zip

43216537-8930-408b-b8d5-3568bd4461c8

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 17, 2016
@snicoll
Copy link
Member

snicoll commented May 17, 2016

Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.

Your sample project imports base.xml which imports console-appender.xml. Try importing defaults.xml instead.

<include resource="org/springframework/boot/logging/logback/defaults.xml" />

@snicoll snicoll closed this as completed May 17, 2016
@snicoll snicoll added for: stackoverflow A question that's better suited to stackoverflow.com and removed status: waiting-for-triage An issue we've not yet triaged labels May 17, 2016
@coffeesweet
Copy link
Author

coffeesweet commented May 17, 2016

thank you , i will take it to Stack Overflow.

but ,i use defaults.xml replace base.xml and not work fine as before.
you can try.

thank you again!

@coffeesweet
Copy link
Author

sorry,it's my mistake,i puted the logback.xml into a src-package;
now i put it into classpath root path,it's work fine!

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: stackoverflow A question that's better suited to stackoverflow.com
Projects
None yet
Development

No branches or pull requests

3 participants