Hi all,
Solution is in corosync.conf:
logging {
fileline: off
to_stderr: yes
to_logfile: yes
to_syslog: yes
logfile: /var/log/corosync.log
debug: off
timestamp: on
logger_subsys {
subsys: AMF
debug: off
}
}
Have fun!
- tom
Zitat von ap <[email protected]>:
>
> This does not work for pacemaker (heartbeat 3.0.2, corosync 1.2.0,
> pacemaker 1.0.7).
>
> Aug 29 20:29:15 clu crmd: [23567]: debug: do_fsa_action: actions:trace:
> // A_INTEGRATE_TIMER_STOP
> Aug 29 20:29:15 clu crmd: [23567]: debug: do_fsa_action: actions:trace:
> // A_FINALIZE_TIMER_STOP
> Aug 29 20:29:15 clu crmd: [23567]: debug: do_fsa_action: actions:trace:
> // A_TE_INVOKE
> Aug 29 20:29:15 clu crmd: [23567]: info: unpack_graph: Unpacked transition
> 9: 14 actions in 14 synapses
> Aug 29 20:29:15 clu crmd: [23567]: info: do_te_invoke: Processing graph 9
> (ref=pe_calc-dc-1283106555-63) derived from
> /var/lib/pengine/pe-warn-9396.bz2
> Aug 29 20:29:15 clu crmd: [23567]: info: te_pseudo_action: Pseudo action
> 52 fired and confirmed
> Aug 29 20:29:15 clu crmd: [23567]: info: te_pseudo_action: Pseudo action
> 62 fired and confirmed
>
> Any help is appreciated.
>
> ap.
>
> On Sat, 28 Aug 2010 16:09:02 -0400, Casey Allen Shobe <[email protected]>
> wrote:
>> On Saturday 28 August 2010 08:31:22 ap wrote:
>>> Hi all,
>>>
>>> is there a possibility to reduce logging in heartbeat/pacemaker etc. ?
>>> I'd like to get only the "info" messages but not the "debug" messages.
>>
>> In your ha.cf, add:
>>
>> debug 0
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
--
tiri GmbH
Lauenburger Str. 31a
21493 Schwarzenbek
Tel. 04151 8674995
Fax. 04151 8674996
Net. http://www.tiri.li
Geschäftsführer: Anja Baumann, Thomas Baumann
Sitz Schwarzenbek, Amtsgericht Lübeck, HRB 8837 HL
------------------------------------------------------------------
sent via tiri messaging - based on horde/imp/dspam/amavis and more
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems