Huang Wu

Greenhorn
+ Follow
since Aug 05, 2014
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Huang Wu

Huang Wu wrote:Hi,
I am coding in Eclipse with jdk1.8 and wildfly8.1.
I deploy an ear project in wildfly8.1, then I want to add a log4j properties in it.
So I copy MATE-INF to the ear that it is in wildfly directory deployment.
and the ear directory struct is :
ear+
-----lib
-----**.jar
-----**.war
------MATE-INF+ (copy it from other directory )
-----------log4j.properties
It work well.

but I add the MATE-INF in project,and deploy it(create a new ear).
It does not work, and the ear directory struct is not changed(like above struct).
Any ideas.Thank you!






Sorry , it is my mistake, I set use-deployment-logging-config false in the server.
but there is a new topic:
It can not logger in the console.
I hava set it :


the FILE appender work,BUT the STDOUT do not.


Hi,
I am coding in Eclipse with jdk1.8 and wildfly8.1.
I deploy an ear project in wildfly8.1, then I want to add a log4j properties in it.
So I copy MATE-INF to the ear that it is in wildfly directory deployment.
and the ear directory struct is :
ear+
-----lib
-----**.jar
-----**.war
------MATE-INF+ (copy it from other directory )
-----------log4j.properties
It work well.

but I add the MATE-INF in project,and deploy it(create a new ear).
It does not work, and the ear directory struct is not changed(like above struct).
Any ideas.Thank you!