Closed reezer closed 10 years ago
Can you provide the config ?
These are pasted. Only user, applicationname (logfile) and hostname have been modified.
input://file:///home/user/application.log
output://tcp://log.example.com:2311
Hi,
Sorry for the delay. I'm not able to reproduce the bug. Do you have more information ? Do you have the error when starting node-logstash ? When you create the log file ?
Regards,
Bertrand
I reproduce the problem with a node 0.8.x under max os x. Is it your case ?
Regards
It's FreeBSD here, so really close.
Ok. I add a warning in log. I can not do better, because it's the fs.watch NodeJS Api which does not provide all information. This API is not consistent between different operating system. Are you using a recent NodeJS version ? Can you try with the last 0.11 one ? Which version of FreeBSD are you using ?
I have tested, the NodeJS API does not provide all informations under FreeBSD 10.
I'm afraid I can not solve your issue :( You can submit an issue to NodeJS.
Obviously file input can be null instead of a string. This appears to happen when a process starts writing to it. I am using the current state of the master branch.