Github user vanzin commented on the pull request:

    https://github.com/apache/spark/pull/3651#issuecomment-66533431
  
    So, one problem I can think of is that the test log4j.properties has this:
    
        log4j.appender.file.append=false
    
    Meaning that the second test plugin will overwrite the log file generated 
by the first one. (In this case, I think scalatest will always run last, so 
you'll never see the log file for the surefire run.)
    
    Two ways I see to fix it:
    * set append to "true", and clean up that file before running the tests
    * parameterize the log file name so that each test run writes to a 
different file
    
    Also, bonus point if you place the test log4j.properties in a shared 
location and nuke all the duplicate ones in each module. :-) (Although that 
might be trying to squeeze too much cleanup into this patch.)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to