hello to everyone. i am working upon the JBoss server and log4j. can anyone please tell me that 1) how can i force jboss to log at specific directory eg. C:/log 2) what will be given prefrence log4j.xml or log4j.properties. 3) i used both but the problem is log4j.properties creates an empty file at my specific location. and it is unaccessible (meanz donot created) untill i shutdown the JBoss. 4) how can i get diffrent log for diffrent user in diffrent .log files? some one told me NDC (Nested Diagnostics Context) but i am unable to find even a single complete example of NDC.
here is my log4j.xml file
here is my log4j.properties file
please help me out. how can i fix it. all kinds of suggestions and solutions are highly appreciated from me.