You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Justin Hayes (JIRA)" <ji...@apache.org> on 2014/05/16 12:38:55 UTC
[jira] [Updated] (FLUME-2385) Flume spans log file with "Spooling
Directory Source runner has shutdown" messages at INFO level
[ https://issues.apache.org/jira/browse/FLUME-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Hayes updated FLUME-2385:
--------------------------------
Description:
When I start an agent with the following config, the spooling directory source emits "14/05/14 22:36:12 INFO source.SpoolDirectorySource: Spooling Directory Source runner has shutdown." messages twice a second. Pretty innocuous but it will fill up the file system needlessly and get in the way of other INFO messages.
cis.sources = httpd
cis.sinks = loggerSink
cis.channels = mem2logger
cis.sources.httpd.type = spooldir
cis.sources.httpd.spoolDir = /var/log/httpd
cis.sources.httpd.trackerDir = /var/lib/flume-ng/tracker/httpd
cis.sources.httpd.channels = mem2logger
cis.sinks.loggerSink.type = logger
cis.sinks.loggerSink.channel = mem2logger
cis.channels.mem2logger.type = memory
cis.channels.mem2logger.capacity = 10000
cis.channels.mem2logger.transactionCapacity = 1000
was:
When I start an agent with the following config, the spooling directory source emits "14/05/14 22:36:12 INFO source.SpoolDirectorySource: Spooling Directory Source runner has shutdown." messages twice a second. Pretty innocuous but it will fill up the file system needlessly and get in the way of other INFO messages.
# Flume Agent Config
cis.sources = httpd
cis.sinks = loggerSink
cis.channels = mem2logger
##### Sources #####
cis.sources.httpd.type = spooldir
cis.sources.httpd.spoolDir = /var/log/httpd
cis.sources.httpd.trackerDir = /var/lib/flume-ng/tracker/httpd
cis.sources.httpd.channels = mem2logger
##### Sinks #####
cis.sinks.loggerSink.type = logger
cis.sinks.loggerSink.channel = mem2logger
##### Channels #####
cis.channels.mem2logger.type = memory
cis.channels.mem2logger.capacity = 10000
cis.channels.mem2logger.transactionCapacity = 1000
> Flume spans log file with "Spooling Directory Source runner has shutdown" messages at INFO level
> ------------------------------------------------------------------------------------------------
>
> Key: FLUME-2385
> URL: https://issues.apache.org/jira/browse/FLUME-2385
> Project: Flume
> Issue Type: Improvement
> Affects Versions: v1.4.0
> Reporter: Justin Hayes
> Priority: Minor
>
> When I start an agent with the following config, the spooling directory source emits "14/05/14 22:36:12 INFO source.SpoolDirectorySource: Spooling Directory Source runner has shutdown." messages twice a second. Pretty innocuous but it will fill up the file system needlessly and get in the way of other INFO messages.
> cis.sources = httpd
> cis.sinks = loggerSink
> cis.channels = mem2logger
> cis.sources.httpd.type = spooldir
> cis.sources.httpd.spoolDir = /var/log/httpd
> cis.sources.httpd.trackerDir = /var/lib/flume-ng/tracker/httpd
> cis.sources.httpd.channels = mem2logger
> cis.sinks.loggerSink.type = logger
> cis.sinks.loggerSink.channel = mem2logger
> cis.channels.mem2logger.type = memory
> cis.channels.mem2logger.capacity = 10000
> cis.channels.mem2logger.transactionCapacity = 1000
--
This message was sent by Atlassian JIRA
(v6.2#6252)