[
https://issues.apache.org/jira/browse/LENS-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14655050#comment-14655050
]
Amareshwari Sriramadasu commented on LENS-666:
----------------------------------------------
The review request for moving to logback is put up at
https://reviews.apache.org/r/36981/.
I'm facing couple of issues as mentioned on the review request, and not able to
proceed much with them.
# All the logs that are coming from dependent libraries (like hive, hadoop) are
landing in lensserver.out file (i.e. console), as they are not coming from
slf4j.
# Seeing the following while launching lens-cli.sh
{noformat}
log4j:WARN No appenders could be found for logger
(org.springframework.core.env.StandardEnvironment).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
info.
{noformat}
Here is how lib/ folder on client looks :
client$ ls lib/*log*
lib/commons-logging-1.1.3.jar lib/log4j-1.2.17.jar
lib/logback-classic-1.1.3.jar lib/logback-core-1.1.3.jar
client $ ls lib/*slf*
lib/slf4j-api-1.7.6.jar
Anyone has ideas on what we can do with above?
> Replace log4j.properties with logback.xml
> -----------------------------------------
>
> Key: LENS-666
> URL: https://issues.apache.org/jira/browse/LENS-666
> Project: Apache Lens
> Issue Type: Sub-task
> Components: build, operations
> Reporter: Amareshwari Sriramadasu
> Assignee: Amareshwari Sriramadasu
> Fix For: 2.3
>
>
> This task is to convert existing log4j.properties to logback.xml files.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)