Why not has console log that running in eclipse?

I use elasticsearche 2.1.0,and i have already setted "-Des.foreground=true“ for jvm property,but not any log output in eclipse console.

In Elasticsearch's source code in the 2.1 branch there should exist a launch configuration for eclipse. It doesn't load plugins but you could use it as a starting point. When I debug Elasticsearch in Eclipse I run it with remote debugging enabled and attache to it.