Hi,

I'm using --logdest to direct the logs to an external file. Is there a way 
to force the timestamp in the logs to be in UTC? Currently the timestamp is 
in the timezone of the appliance.
Is there a way to specify the time format something 
like {"yyyy-MM-dd'T'HH:mm:ss.SSSXX","GMT"}?

Thanks,
Harish

On Tuesday, 31 December 2013 13:22:18 UTC-7, Felix Frank wrote:
>
> Hi, 
>
> sure. From puppet apply --help 
> """ 
> * --logdest: 
>   Where to send messages. Choose between syslog, the console, and a log 
>   file. Defaults to sending messages to the console. 
> """ 
>
> So you can either use --logdest=syslog or add logdest=syslog to the 
> appropriate sections of puppet.conf. 
>
> HTH, 
> Felix 
>
> On 12/31/2013 12:12 PM, Jay wrote: 
> > Hi Felix, 
> > 
> > Sorry for delay in responding! 
> > 
> > Thanks, I am using red hat platform and logs are created as redirected 
> > output of console to a file on puppet run. 
> > Once again thanks for your input, Could you please point out a sample to 
> > use syslog ? 
> > 
> > Regards, 
> > Jay 
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/7d2c1751-367e-44f4-b1ab-1c64b4c664f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to