当实例化Velocity时,我得到了这个错误(只发布了“由”-messages引起的):
java.lang.RuntimeException: Velocity could not be initialized!
Caused by: org.apache.velocity.exception.VelocityException: Error initializing log: Failed to initialize an instance of org.apache.velocity.runtime.log.Log4JLogChute with the current runtime c
我希望使用为在中生成的日志设置一个导出。
对于Linux实例,我知道logName是从像/etc/google-fluentd/config.d/[APPLICATION_NAME].conf这样的文件中提取的。例如:
下面是/etc/google-fluentd/config.d/syslog.conf在Linux中的外观:
<source>
@type tail
# Parse the timestamp, but still collect the entire line as 'message'
format syslog
path /v