Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

disable debug messages in logd

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


bitte at antworte

Aug 28, 2010, 5:31 AM

Post #1 of 4 (466 views)
Permalink
disable debug messages in logd

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.

Thanks for your help in advance.

ap.

The messages currently look like

Aug 28 14:31:17 clu pingd: [4205]: debug: ping_open:
node->host[10.20.30.170], addr[10.20.30.170]
Aug 28 14:31:19 clu pingd: [4205]: debug: ping_read: Read failed: Resource
temporarily unavailable (11)
Aug 28 14:31:19 clu pingd: [4205]: info: stand_alone_ping: Node
10.20.30.170 is unreachable (read)
Aug 28 14:31:20 clu pengine: [10992]: info: crm_log_init: Changed active
directory to /var/lib/heartbeat/cores/root
Aug 28 14:31:20 clu pengine: [10992]: info: Invoked:
/usr/lib64/heartbeat/pengine metadata
Aug 28 14:31:20 clu crm_shadow: [10995]: info: Invoked: crm_shadow
Aug 28 14:31:20 clu crm_shadow: [10997]: info: Invoked: crm_shadow
Aug 28 14:31:20 clu crm_shadow: [10999]: info: Invoked: crm_shadow
Aug 28 14:31:20 clu cibadmin: [11003]: info: Invoked: cibadmin -Ql
Aug 28 14:31:20 clu pengine: [11039]: info: crm_log_init: Changed active
directory to /var/lib/heartbeat/cores/root
Aug 28 14:31:20 clu pengine: [11039]: info: Invoked:
/usr/lib64/heartbeat/pengine metadata
Aug 28 14:31:20 clu crm_shadow: [11041]: info: Invoked: crm_shadow
Aug 28 14:31:20 clu crm_shadow: [11043]: info: Invoked: crm_shadow
Aug 28 14:31:20 clu pingd: [4205]: debug: ping_read: Read failed: No route
to host (113)
Aug 28 14:31:20 clu pingd: [4205]: debug: process_icmp4_error: From
10.20.30.171 icmp_seq=22598 Unreachable Host
Aug 28 14:31:20 clu pingd: [4205]: info: stand_alone_ping: Node
10.20.30.170 is unreachable (read)
Aug 28 14:31:20 clu crm_shadow: [11045]: info: Invoked: crm_shadow
Aug 28 14:31:21 clu lrmd: [3500]: debug: rsc:vip_101_apache:0:14: monitor
Aug 28 14:31:21 clu lrmd: [3500]: debug: rsc:vip_102_apache:0:13: monitor
Aug 28 14:31:21 clu lrmd: [11047]: debug: perform_ra_op: resetting
scheduler class to SCHED_OTHER
Aug 28 14:31:21 clu lrmd: [11048]: debug: perform_ra_op: resetting
scheduler class to SCHED_OTHER
Aug 28 14:31:21 clu attrd: [3501]: debug: attrd_local_callback: update
message from pingd: pingd=0
Aug 28 14:31:21 clu attrd: [3501]: debug: attrd_local_callback: Supplied:
0, Current: 0, Stored: 0

_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


casey at shobe

Aug 28, 2010, 1:09 PM

Post #2 of 4 (452 views)
Permalink
Re: disable debug messages in logd [In reply to]

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

--
Casey Allen Shobe
casey [at] shobe
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


bitte at antworte

Aug 29, 2010, 11:28 AM

Post #3 of 4 (442 views)
Permalink
Re: disable debug messages in logd [In reply to]

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 <casey [at] shobe>
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
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


tom at tiri

Aug 29, 2010, 11:34 AM

Post #4 of 4 (446 views)
Permalink
Re: disable debug messages in logd [In reply to]

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 <bitte [at] antworte>:

>
> 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 <casey [at] shobe>
> 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
> Linux-HA [at] lists
> 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
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.