What do you mean by "program execution in JBoss"? Once an app has been deployed to JBoss AS, it runs until either the app is undeployed or JBoss AS is brought down. Thus a "program execution" is usually the same as a run of JBoss AS, and each time JBoss AS runs it creates a new log file.
I change the file "server/xxx/conf/jboss-log4j.xml" to give me a log file of a package, but jboss creates one file for each minute, but I want a file for each execution, behold the little code I added to the file "server/xxx/conf/jboss-log4j.xml"
You are getting a new log file each minute because that is how you configured it. The DatePattern defines the interval at which new logs are created, and since your DatePattern includes minutes, you get a new log file every minute. If you want a log file per run, use FileAppender instead. And by the way, you should be using the JBoss version of the appender: org.jboss.logging.appender.FileAppender