Either add a "| logger ..." or you really have to get fancy, add a
report processor and do your own logging in ruby at the end of the agent
run.
I haven't seen a way to actually attach to the logging itself. But then,
I haven't looked very hard either.
Regards, David
On 2013-06-05 22:28, Marc Lucke wrote:
Thanks David,
What about --logdest syslog? I was really looking to alter the log format.
- Marc
On 06/06/2013, at 5:53 AM, David Schmitt<[email protected]> wrote:
puppet agent -t -o | perl -pe 'print "myvar=";'
Regards, David
On 2013-06-05 15:16, Marc Lucke wrote:
How would I prepend every log line output with a [var] when I run:
var=<myvar> puppet agent -t -o
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.