What version of JBoss AS?
What mechanism are you using to run JBoss AS as a service (this wiki page mentions several, are you using one of them or somthing else?)
https://community.jboss.org/wiki/RunJBossAsAServiceOnWindows
You never said how the log file is defined...
Once again, it is much easier to help you if you provide details.......