Use any editor (text, XML, or an IDE) to create a log4j.xml file. 
Prerequisites
Understand the use restrictions for log4j logging.
 
Task- In an editor, create a log4j.xml file.
 
- Define the appenders you require and save the file. Appenders must be named, have a class defined, and require one or more parameters. 
 
                    
                
 
- Add  the file to all servers in your cluster. The file must be saved in: SMP_HOME\Servers\UnwiredServer\Repository\.
 
- Repeat these steps on each server in the cluster.
 
- Restart all servers.