public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] batman-adv debug logging
@ 2010-06-23 14:20 Marek Lindner
  2010-06-23 14:20 ` [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: add routing debug log accessible via debugfs Marek Lindner
  2010-06-23 14:20 ` [B.A.T.M.A.N.] [PATCH 2/2] batctl: add debug log support Marek Lindner
  0 siblings, 2 replies; 16+ messages in thread
From: Marek Lindner @ 2010-06-23 14:20 UTC (permalink / raw)
  To: b.a.t.m.a.n


Hi,

a couple of months ago a series of patches had been introduced which removed 
the batman-adv log inside the proc filesystem and redirected the messages to 
the standard linux logs. This allowed us to be more compliant with the linux 
rules but also crippled our debugging mechanisms. The following patches re-
introduce thedebug logging but inside debugfs which should be ok according to 
Greg KH.

Feedback is welcome,  :-)
Marek

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [B.A.T.M.A.N.] batman-adv debug logging (v2)
@ 2010-06-27  0:32 Marek Lindner
  2010-06-27  0:33 ` [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: add routing debug log accessible via debugfs Marek Lindner
  0 siblings, 1 reply; 16+ messages in thread
From: Marek Lindner @ 2010-06-27  0:32 UTC (permalink / raw)
  To: b.a.t.m.a.n


Hi,

I worked through the received feedback (thanks!) my first set of patches 
provoked and improved the code. The following changes have been made:
* the log level no longer is a global variable and can be configured for each 
mesh individually
* the "unused variable" warnings have been eliminated
* now dead batctl code has been removed

I also considered making the debug log available via the standard kernel 
logging facilities but right now I can only see little value in this feature. 
We can still add it as soon as somebody complains.

Unless there are futher comments I will go ahead and commit the changes.

Regards,
Marek


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-06-27  0:33 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-23 14:20 [B.A.T.M.A.N.] batman-adv debug logging Marek Lindner
2010-06-23 14:20 ` [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: add routing debug log accessible via debugfs Marek Lindner
2010-06-23 14:51   ` Andrew Lunn
2010-06-23 15:02     ` Marek Lindner
2010-06-23 15:12       ` Andrew Lunn
2010-06-23 15:53         ` Marek Lindner
2010-06-23 15:09   ` Andrew Lunn
2010-06-23 15:58     ` Marek Lindner
2010-06-23 16:12       ` Andrew Lunn
2010-06-23 15:17   ` Sven Eckelmann
2010-06-23 16:00     ` Marek Lindner
2010-06-23 15:23   ` Andrew Lunn
2010-06-23 16:03     ` Marek Lindner
2010-06-23 16:18       ` Andrew Lunn
2010-06-23 14:20 ` [B.A.T.M.A.N.] [PATCH 2/2] batctl: add debug log support Marek Lindner
  -- strict thread matches above, loose matches on Subject: below --
2010-06-27  0:32 [B.A.T.M.A.N.] batman-adv debug logging (v2) Marek Lindner
2010-06-27  0:33 ` [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: add routing debug log accessible via debugfs Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox