On Sun, Oct 19, 2008 at 2:37 PM, schickb <[EMAIL PROTECTED]> wrote: > On Oct 19, 12:09 pm, "Paul Lathrop" <[EMAIL PROTECTED]> wrote: >> Are you using "puppet" as you say below, or "puppetd"? "puppet" is a >> standalone interpreter which does not contact a server. >> >> All functions run server-side, so if you *are* using "puppetd", you >> would need to look in the server logs, and it will be there. >> > > Yes I am using puppetd, but and I still don't see anything in the /var/ > log/puppet/masterhttp.log on the server. I guess part of my confusion > is how the notify function works with loglevel, since loglevel is a > property of a type but you can't call notice() from within a type > instance can you?
Ugh. That log file drove me crazy when I was first starting too. That log file is, to my knowledge, completely useless. It might be a webrick log, I'm not sure. Anyway, you want to check wherever your system log records 'daemon' messages; on my Debian boxes that's /var/log/daemon.log -- that's where you'll find the actual puppetmasterd log messages. I'm not sure about where it is legal to use notice; I don't tend to use it much. However, I *believe* you can use it just about anywhere as long as you aren't trying to use it as an rvalue. I think the parser executes the logging functions as it encounters them lexically. Don't quote me on that :-P --Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
