Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Beagle
beagle
beagle-log-level-warn.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File beagle-log-level-warn.patch of Package beagle
Index: beagled/BeagleDaemon.cs =================================================================== --- beagled/BeagleDaemon.cs.orig +++ beagled/BeagleDaemon.cs @@ -455,7 +455,7 @@ namespace Beagle.Daemon { // 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}", Index: beagled/IndexHelper/IndexHelper.cs =================================================================== --- beagled/IndexHelper/IndexHelper.cs.orig +++ beagled/IndexHelper/IndexHelper.cs @@ -90,16 +90,13 @@ namespace Beagle.IndexHelper { else disable_textcache = false; - // FIXME: We always turn on full debugging output! We are still - // debugging this code, after all... - //bool debug = (Environment.GetEnvironmentVariable ("BEAGLE_DEBUG_FLAG_IS_SET") != null); + bool debug = (Environment.GetEnvironmentVariable ("BEAGLE_DEBUG_FLAG_IS_SET") != null); last_activity = DateTime.Now; Log.Initialize (PathFinder.LogDir, "IndexHelper", - //debug ? LogLevel.Debug : LogLevel.Warn, - LogLevel.Debug, + debug ? LogLevel.Debug : LogLevel.Warn, run_by_hand || log_in_fg); Log.Always ("Starting Index Helper process (version {0})", ExternalStringsHack.Version);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor