1

我需要将 ContxtBroker 日志发送到 syslog,但我能找到的另一种方法是通过 imfile,这在时间上非常不准确。

有没有办法将 ContextBroker 日志直接发送到 syslog?

4

1 回答 1

0

The orion context broker only outputs its log information to its log file (which defaults at /tmp/contextBroker.log), and currently we don't have any intention of changing this behavior, sorry.

You could always implement a process that reads from the log file, parses the log contents and forwards the log message to syslog. Doesn't seem too difficult ...

于 2015-02-03T09:37:03.627 回答