Unverified Commit 6554e43c authored by Philippe M. Chiasson's avatar Philippe M. Chiasson
Browse files

add node service logs to fluent

parent 50f8cad7
class { '::fluentd':
service_ensure => stopped
}
fluentd::configfile { $project_name: }
fluentd::source { 'node-output':
configfile => $project_name,
type => 'tail',
format => 'none',
tag => 'forward.voice.node.stdout',
config => {
'path' => "/var/log/upstart/${project_name}.log",
'pos_file' => "/var/log/upstart/${project_name}.pos",
},
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment