문제

I'm working on a project where a log is generated after each operation. Is it possible to call DIH whenever a new log is generated with a path to this file as a parameter?

도움이 되었습니까?

해결책

Personally I havent tried doing it but there are planty of examples (and also questions) around like this and this and a blog post... I dont know the format of your logs but if it is possible for XML as you can see from the links, it could be applied for your case too...

the other workaround could be using a cronjob or another thing to post your logs in a time period like every 5 or 10 minutes... or directly detecting the log creation and then posting it to the solr server.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top