[ 
https://issues.apache.org/jira/browse/OOZIE-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16118452#comment-16118452
 ] 

Artem Ervits commented on OOZIE-3026:
-------------------------------------

[~andras.piros] there is an entry for openjpa in oozie-log4j.properties 
https://github.com/apache/oozie/blob/master/core/src/main/conf/oozie-log4j.properties#L99
 it doesn't take effect, I tried 
https://github.com/apache/oozie/blob/master/core/src/main/resources/oozie-log4j.properties
 as well. From my understanding, this only takes effect via persistence.xml 
during openjpa-maven-plugin enhance stage and thus during build only 
http://openjpa.apache.org/enhancement-with-maven.html and 
http://people.apache.org/~mikedd/openjpa/openjpa-maven-plugin/enhance-mojo.html 
so I am not sure if enabling that via oozie-log4j.properties is necessary?  

> fix openjpa enhancer stage during build for logging
> ---------------------------------------------------
>
>                 Key: OOZIE-3026
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3026
>             Project: Oozie
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 4.3.0
>         Environment: Maven home: /usr/local/apache-maven-3.5.0
> Java version: 1.8.0_141, vendor: Oracle Corporation
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.12.6", arch: "x86_64", family: "mac"
> latest commit: 7d59ce9ba0b79a66169b6d8f1c4b941a381e549a
>            Reporter: Artem Ervits
>            Assignee: Artem Ervits
>            Priority: Minor
>             Fix For: 5.0.0
>
>         Attachments: OOZIE-3026-0.patch, OOZIE-3026-1.patch
>
>
> when running mkdistro.sh script, getting the following messsage
> {noformat}
> [INFO] --- openjpa-maven-plugin:2.4.1:enhance (enhancer) @ oozie-core ---
> log4j:WARN No appenders could be found for logger (openjpa.Runtime).
> log4j:WARN Please initialize the log4j system properly.
> {noformat}
> since no appenders were found, let's disable the system altogether.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to