[beagle] Enable the --debug switch for beagled. There is no point in forcing the packagers in maintaining a p
- From: Debajyoti Bera <dbera src gnome org>
- To: svn-commits-list gnome org
- Subject: [beagle] Enable the --debug switch for beagled. There is no point in forcing the packagers in maintaining a p
- Date: Sat, 23 May 2009 12:13:13 -0400 (EDT)
commit 4a8459c16d38586931239a125a5583785254ff4a
Author: D Bera <dbera web gmail com>
Date: Sat May 23 12:11:14 2009 -0400
Enable the --debug switch for beagled. There is no point in forcing the packagers in maintaining a patch to comment out the debug-by-default code. Beagle now behaves like most programs, to get additional debugging information, pass --debug. I wonder whether --debug should be enabled by default if run uninstalled - that will save the devs some extra typing.
---
beagle/beagled/BeagleDaemon.cs | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/beagle/beagled/BeagleDaemon.cs b/beagle/beagled/BeagleDaemon.cs
index fc7e1c6..7deb0eb 100644
--- a/beagle/beagled/BeagleDaemon.cs
+++ b/beagle/beagled/BeagleDaemon.cs
@@ -452,11 +452,7 @@ namespace Beagle.Daemon {
MainLoopThread = Thread.CurrentThread;
- // FIXME: We always turn on full debugging output! We are still
- // debugging this code, after all...
- // arg_debug ? LogLevel.Debug : LogLevel.Warn
-
- Log.Initialize (PathFinder.LogDir, "Beagle", LogLevel.Debug, arg_fg);
+ Log.Initialize (PathFinder.LogDir, "Beagle", arg_debug ? LogLevel.Debug : LogLevel.Warn, arg_fg);
Log.Always ("Starting Beagle Daemon (version {0})", ExternalStringsHack.Version);
Log.Always ("Running on {0}", SystemInformation.MonoRuntimeVersion);
Log.Always ("Command Line: {0}",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]