Skip to content

Commit

Permalink
Merge pull request #1 from amerck/master
Browse files Browse the repository at this point in the history
Updated log file path
  • Loading branch information
amerck authored Jun 21, 2018
2 parents 945703c + a876f64 commit 7bbc8b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hpfeeds-logger.run.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ then
sed -i "s/\"port\": 10000/\"port\": ${HPFEEDS_PORT}/g" {{ hpfeeds_logger_dir }}/hpfeeds-logger/logger.json
sed -i "s/\"ident\": \"splunk-logger\"/\"ident\": \"${IDENT}\"/g" {{ hpfeeds_logger_dir }}/hpfeeds-logger/logger.json
sed -i "s/\"secret\": \"\"/\"secret\": \"${SECRET}\"/g" {{ hpfeeds_logger_dir }}/hpfeeds-logger/logger.json
sed -i "s/\"log_file\": \"mhn-splunk-log.out\"/\"log_file\": \"${LOG_FILE}\"/g" {{ hpfeeds_logger_dir }}/hpfeeds-logger/logger.json
sed -i "s|\"log_file\": \"mhn-splunk-log.out\"|\"log_file\": \"${LOG_FILE}\"|g" {{ hpfeeds_logger_dir }}/hpfeeds-logger/logger.json

# Generate config file for hpfeeds broker and register
cd {{ hpfeeds_dir }}/hpfeeds/broker/
Expand Down
2 changes: 1 addition & 1 deletion hpfeeds-logger.sysconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ HPFEEDS_PORT=10000
MONGODB_HOST='mongodb'
MONGODB_PORT=27017

LOG_FILE="chn-splunk.log"
LOG_FILE=/var/log/hpfeeds-logger/chn-splunk.log

0 comments on commit 7bbc8b8

Please sign in to comment.