[
https://issues.apache.org/jira/browse/FLUME-3430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kaushik Dutta updated FLUME-3430:
---------------------------------
Labels: apache flume java production (was: )
> How to stop flume 1.10.0 from logging logs to console
> -----------------------------------------------------
>
> Key: FLUME-3430
> URL: https://issues.apache.org/jira/browse/FLUME-3430
> Project: Flume
> Issue Type: Question
> Environment: Using java -1.8 . There was similar problem with 1.9.0
> version. Everything was coming to console.
>
> Reporter: Kaushik Dutta
> Priority: Major
> Labels: apache, flume, java, production
> Attachments: pom
>
>
>
> I am using Flume-1.10.0 . I have made a custom application and added flume
> 1.10.0 dependencies in the pom. while running it is printing everything on
> the console. I want it to be redirected to a file.
> I m running - /usr/bin/nohup java -jar
> -Dlog4j.configurationFile=/disk1/log4j2.xml
> /disk1/apache-flume-1.5.0-SNAPSHOT-bin/lib/flume-custom-jar-with-dependencies.jar
> --conf-file /disk1/apache-flume-1.5.0-SNAPSHOT-bin/conf/multiplexing.conf
> --name adclient > /disk1/flume_out.log 2> /disk1/flume_err.log &
> Everything is getting printed to flume_out.log. It is ignoring log4j config.
> I am not sure what is happening. I am using 1.10.0v because it has log4j2
> support.
> My pom is attached below. Please have a look-
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]