1 |
cedk 08/03/25 22:25:00 |
2 |
|
3 |
Added: beagle-0.3.3-log-level-warn.patch |
4 |
Log: |
5 |
Version bump |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 app-misc/beagle/files/beagle-0.3.3-log-level-warn.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/files/beagle-0.3.3-log-level-warn.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/beagle/files/beagle-0.3.3-log-level-warn.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: beagle-0.3.3-log-level-warn.patch |
15 |
=================================================================== |
16 |
Index: beagled/BeagleDaemon.cs |
17 |
=================================================================== |
18 |
--- beagled/BeagleDaemon.cs (revision 4355) |
19 |
+++ beagled/BeagleDaemon.cs (working copy) |
20 |
@@ -455,7 +455,7 @@ |
21 |
// debugging this code, after all... |
22 |
// arg_debug ? LogLevel.Debug : LogLevel.Warn |
23 |
|
24 |
- Log.Initialize (PathFinder.LogDir, "Beagle", LogLevel.Debug, arg_fg); |
25 |
+ Log.Initialize (PathFinder.LogDir, "Beagle", arg_debug ? LogLevel.Debug : LogLevel.Warn, arg_fg); |
26 |
Log.Always ("Starting Beagle Daemon (version {0})", ExternalStringsHack.Version); |
27 |
Log.Always ("Running on {0}", SystemInformation.MonoRuntimeVersion); |
28 |
Log.Always ("Command Line: {0}", |
29 |
Index: beagled/IndexHelper/IndexHelper.cs |
30 |
=================================================================== |
31 |
--- beagled/IndexHelper/IndexHelper.cs (revision 4355) |
32 |
+++ beagled/IndexHelper/IndexHelper.cs (working copy) |
33 |
@@ -92,14 +92,13 @@ |
34 |
|
35 |
// FIXME: We always turn on full debugging output! We are still |
36 |
// debugging this code, after all... |
37 |
- //bool debug = (Environment.GetEnvironmentVariable ("BEAGLE_DEBUG_FLAG_IS_SET") != null); |
38 |
+ bool debug = (Environment.GetEnvironmentVariable ("BEAGLE_DEBUG_FLAG_IS_SET") != null); |
39 |
|
40 |
last_activity = DateTime.Now; |
41 |
|
42 |
Log.Initialize (PathFinder.LogDir, |
43 |
"IndexHelper", |
44 |
- //debug ? LogLevel.Debug : LogLevel.Warn, |
45 |
- LogLevel.Debug, |
46 |
+ debug ? LogLevel.Debug : LogLevel.Warn, |
47 |
run_by_hand || log_in_fg); |
48 |
|
49 |
Log.Always ("Starting Index Helper process (version {0})", ExternalStringsHack.Version); |
50 |
|
51 |
|
52 |
|
53 |
-- |
54 |
gentoo-commits@l.g.o mailing list |