티스토리 뷰

[업데이트 2016.12.28 00:45]

Logstash 수행시 Log4j2를 이용해 log를 남길 수 있는데, 아래와 같은 오류 발생시 --path.settings를 통해 config directory를 다시 지정해줍니다. 만약 Logstash root directory가 C:/logstash-5.0.1 인 경우 아래와 같습니다. (Windows기준)

 

<오류 내용>
"Could not find log4j2 configuration at path /logstash-5.0.1/config/log4j2.properties. Using default config which logs to console"

 

logstash.bat -f logstash-test.conf --path.settings=/c:/logstash-5.0.1/config/

 

* 참고: https://discuss.elastic.co/t/info-windows-logstash-and-could-not-find-log4j2-configuration/67633

 

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함