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

The console cannot see the log output #107

Open
JasperXgwang opened this issue Jul 10, 2018 · 1 comment
Open

The console cannot see the log output #107

JasperXgwang opened this issue Jul 10, 2018 · 1 comment

Comments

@JasperXgwang
Copy link

@Slf4j(topic = "WalletController")
public class WalletController {

    @Autowired
    WalletService walletService;

    @MessageMapping("/getWalletInfo")
    public WalletInfoDTO getWalletInfo() {
        log.info("exec getWalletInfo");
        return walletService.getWalletInfo();
    }
}

exec getWalletInfo console can not see this log

@zilm13
Copy link
Contributor

zilm13 commented Jul 10, 2018

@JasperXgwang have you added line like this in logback.xml?

 <logger level="INFO" name="WalletController"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants