Skip to content

Commit

Permalink
- SINCEDB_PATH is no longer.
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Apr 16, 2013
1 parent e740ba5 commit 18db333
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
4 changes: 2 additions & 2 deletions lib/logstash/inputs/file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class LogStash::Inputs::File < LogStash::Inputs::Base
config :discover_interval, :validate => :number, :default => 15

# Where to write the since database (keeps track of the current
# position of monitored log files). Defaults to the value of
# environment variable "$SINCEDB_PATH" or "$HOME/.sincedb".
# position of monitored log files). The default will write
# sincedb files to some path matching "$HOME/.sincedb*"
config :sincedb_path, :validate => :string

# How often to write a since database with the current position of
Expand Down
5 changes: 0 additions & 5 deletions pkg/logstash.sysv.redhat
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ NICE=19
# Filter threads
FILTER_THREADS=1

# Path to sincedb files
SINCEDB_PATH=/etc/logstash/sincedb/

# End of variables that can be overwritten in $DEFAULT

if [ -f "$DEFAULT" ]; then
Expand All @@ -74,8 +71,6 @@ JAVA=`which java`
JAR="${LS_HOME}/logstash.jar"
ARGS="${LS_JAVA_OPTS} -jar ${JAR} agent --config ${CONF_DIR} --log ${LOG_FILE} -w ${FILTER_THREADS}"

export SINCEDB_PATH=$SINCEDB_PATH

is_true() {
if [ "x$1" = "xtrue" -o "x$1" = "xyes" -o "x$1" = "x1" ] ; then
return 0
Expand Down
5 changes: 0 additions & 5 deletions pkg/rpm/SOURCES/logstash.init
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ NICE=19
# Filter threads
FILTER_THREADS=1

# Path to sincedb files
SINCEDB_PATH=/etc/logstash/sincedb/

# End of variables that can be overwritten in $DEFAULT

if [ -f "$DEFAULT" ]; then
Expand All @@ -74,8 +71,6 @@ JAVA=`which java`
JAR="${LS_HOME}/logstash.jar"
ARGS="${LS_JAVA_OPTS} -jar ${JAR} agent --config ${CONF_DIR} --log ${LOG_FILE} -w ${FILTER_THREADS}"

export SINCEDB_PATH=$SINCEDB_PATH

is_true() {
if [ "x$1" = "xtrue" -o "x$1" = "xyes" -o "x$1" = "x1" ] ; then
return 0
Expand Down

0 comments on commit 18db333

Please sign in to comment.