0 Replies Latest reply: May 21, 2013 7:08 AM by 1010107 RSS

    Deployed Application Logs

    1010107
      Hi,
      I have deployed a war file on oracle weblogic 12c.During the deployment i noticed that my application logs generating inside d drive,I want to have my logs to go to a specific file path,can anyone guide me how to achieve this.
      i am using log4j.properties file to print my application logs.
      here is my log4j.properties configuration..

      log4j.appender.A1=org.apache.log4j.RollingFileAppender
      log4j.appender.A1.Append=true
      log4j.appender.A1.MaxFileSize=10000KB
      log4j.appender.A1.MaxBackupIndex=10
      log4j.appender.A1.layout=org.apache.log4j.PatternLayout
      log4j.appender.A1.layout.ConversionPattern=%d{DATE} %-5p [%t] %C{1}:%L:%m%n
      log4j.appender.A1.File=${myApplication}/A1.log

      i want to set the File path from weblogic to generate my application logs in a specified location.

      Thanks !!