title: Why do my application level logs disappear when executed in oozie?
body: <p>I'm using oozie in CDH5 environment.  I'm also using the oozie web-console.  I'm not able to see any of the logs from my application.  I can see hadoop logs, spark logs, etc; but I see no application specific logs.</p>
  
  <p>In my application I've included src/main/resources/log4j.properties</p>
  
  <pre><code># Root logger option
  log4j.rootLogger=INFO, stdout
  
  # Direct log messages to stdout
  log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  log4j.appender.stdout.Target=System.out
  log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
  </code></pre>
  
  <p>In my oozie workflow I have java-actions and spark-actions.</p>
  
  <p>It is also important to note that when I run my application from the command line I do see my application level logs.</p>