Hi ,
I am using oracle weblogic server.
I have a single domain and two applications CustomerService and Admin applications deployed in the same domain.
I have created two log4j configuration files and loaded one in each application.
But my problem is all the logs are going to same log file instead of two.

Please find the configuration for CustomerService log4j below.
the second application also uses almost same conf except the file names and appender names.

Please help me to fix this. Thanks in advance.



# Set root logger level to INFO and its only appender to G1.
# TRACE,DEBUG,INFO,WARN,ERROR andFATAL
log4j.rootLogger=INFO,H1

# G1 is set to be a ConsoleAppender.
log4j.appender.G1=org.apache.log4j.ConsoleAppender

# G1 uses PatternLayout.
log4j.appender.G1.layout=org.apache.log4j.PatternL ayout
log4j.appender.G1.layout.ConversionPattern=%d{yyyy MMM dd HH:mm:ss} [%t] %-5p %c %x - %m%n
#
log4j.appender.H1=org.apache.log4j.DailyRollingFil eAppender
log4j.appender.H1.File=./logs/CustomerService.log
log4j.appender.H1.File.DatePattern=.yyyy-MM-dd

log4j.appender.H1.MaxFileSize=30MB
# Keep two backup file
log4j.appender.H1.MaxBackupIndex=5

# H1 uses PatternLayout.
log4j.appender.H1.layout=org.apache.log4j.PatternL ayout
########## %t =thread
#log4j.appender.H1.layout.ConversionPattern=%d{yyy y MMM dd HH:mm:ss} [%t] %-5p %c %x - %m%n
log4j.appender.H1.layout.ConversionPattern=%d{MMM dd HH:mm:ss} %-5p %c %x - %m%n