[Pacemaker] ocf_log debug ... doesn't?

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Jun 17 10:46:47 EDT 2009


Hi,

On Wed, Jun 17, 2009 at 04:39:39PM +0200, Florian Haas wrote:
> Hello everyone,
> 
> correct me if I'm wrong here, but: if I configure
> 
> - Pacemaker on OpenAIS with logging { to_syslog: yes }, and my syslog
> configured to capture the DEBUG priority into an output file, OR
> 
> - Pacemaker on Heartbeat with "use_logd no" and no "debugfile" set, and
> my syslog configured to capture the DEBUG priority into an output file, OR
> 
> - Pacemaker on Heartbeat with "use_logd no" and a "debugfile" set, OR
> 
> - Pacemaker on Heartbeat with "use_logd yes" and a debug file set in
> logd.cf,
> 
> ... then any "ocf_log debug" messages should end up in the appropriate
> log files created, right?
> 
> Because right now on my Pacemaker 1.0.4 boxes they don't. They're
> completely suppressed. All other logging levels work perfectly fine.
> 
> Am I overlooking something blatantly obvious?

Did you try logger -p trala.debug ... ? Does that work? If so,
then ocf_log debug should work too. ocf_log is reduced to either
logger(1) or ha_logger(1) call (see .ocf-shellfuncs and
/etc/ha.d/shellfuncs). Unless I'm very wrong ;-)

Thanks,

Dejan

> Cheers,
> Florian
> 



> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker





More information about the Pacemaker mailing list