-
1. Re: Logging now working in AS 7.1 Final.
ctomc Jul 2, 2012 10:11 AM (in response to aslamcl)remove all of the above mentionend jars and it should work
--
tomaz
-
2. Re: Logging now working in AS 7.1 Final.
jamezp Jul 2, 2012 11:26 AM (in response to aslamcl)That's a whole lot of logging configurations :-). Do you also have a logging configuration you're trying to use or are you going to configure your log handlers (appenders) through the logging subsystem? The later gives you runtime configuration changes.
--
James R. Perkins
-
3. Re: Logging now working in AS 7.1 Final.
aslamcl Jul 3, 2012 12:16 AM (in response to jamezp)James, I do have logging configurations inside my war file. So by "log handlers through logging subsytem" what do you mean actually?
-
4. Re: Logging now working in AS 7.1 Final.
jamezp Jul 3, 2012 12:28 AM (in response to aslamcl)Aslam,
What I mean is configure it through the CLI, web console or any management interface. That would allow for runtime changes to your configuration. If you want to use your own static configuration you can. In 7.0.x and 7.1.x you'll need to exclude the servers logging libraries through the jboss-deployment-structure.xml as described here.
--
James R. Perkins
-
5. Re: Logging now working in AS 7.1 Final.
aslamcl Jul 3, 2012 9:24 AM (in response to aslamcl)James, I fixed the issue by giving following things in jboss-deployment-structure.xml as it is given in the link provided by you.
<
jboss-deployment-structure
>
<
deployment
>
<!-- Exclusions allow you to prevent the server from automatically adding some dependencies -->
<
exclusions
>
<
module
name
=
"org.apache.log4j"
/>
</
exclusions
>
</
deployment
>
</
jboss-deployment-structure
>
It worked. Thanks alot