[
https://issues.apache.org/jira/browse/AMBARI-24987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16708815#comment-16708815
]
ASF GitHub Bot commented on AMBARI-24987:
-----------------------------------------
kasakrisz opened a new pull request #23: AMBARI-24987 - Infra Manager: parse
logs by Logsearch
URL: https://github.com/apache/ambari-infra/pull/23
## What changes were proposed in this pull request?
* Change the rolling file appenders log entry pattern: log date-time to
ISO8601 format, log java file and line number
* Eliminate `log4j 1` dependencies and use `log4j-1.2-api` for 3rd party
components which are depends on `log4j 1`
* Add 'log4j-web' to eliminate warning
```
2018-12-04 15:52:10,943 main INFO Log4j appears to be running in a Servlet
environment, but there's no log4j-web module available. If you want better web
container support, please add the log4j-web JAR to your web archive or server
lib directory.
```
Since this log entry is in a different format it caused Logfeeder to stop
parsing infra manager logs.
## How was this patch tested?
UTs and ITs passed
Manually:
1. Deploy Ambari and a cluster: Zookeeper, Infra Solr, Logsearch, Infra
Manager
2. Start all components
3. Login to Logsearch Portal and search for Infra Manager logs
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Infra Manager: parse logs by Logsearch
> --------------------------------------
>
> Key: AMBARI-24987
> URL: https://issues.apache.org/jira/browse/AMBARI-24987
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-infra, ambari-logsearch
> Affects Versions: 2.8.0
> Reporter: Krisztian Kasa
> Assignee: Krisztian Kasa
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.8.0
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)