jbossas/jboss-as — pull request #4343 by Mogztter (2013-04-08 10:29:08+00:00)
Title: Redirect error messages in $JBOSS_CONSOLE_LOG

Change the order to redirect error messages in ```$JBOSS_CONSOLE_LOG```

> http://tldp.org/LDP/abs/html/io-redirection.html :
```bash
ls -yz >> command.log 2>&1
# Capture result of illegal options "yz" in file "command.log."
# Because stderr is redirected to the file,
#+ any error messages will also be there.
# Note, however, that the following does *not* give the same result.
ls -yz 2>&1 >> command.log
# Outputs an error message, but does not write to file.
# More precisely, the command output (in this case, null)
#+ writes to the file, but the error message goes only to stdout.
# If redirecting both stdout and stderr,
#+ the order of the commands makes a difference.