Application servers are a little more complex, and they use Loggers for that. The default output is not the same as a desktop app, for example.
In order to be able to properly see this log you should use something like:
import java.util.logging.Logger;
...
private static final Logger log = Logger.getLogger(SuaClasse.class.getName());
After that it’s simple:
log.info("Mensagem");
log.warning("Mensagem");
log.severe("Mensagem");
log...
You will now have your logs in the IDE console, additionally you can query the log file within the server in the /standalone/log/server folder.log
Hugs