beagle r4643 - trunk/beagle/Util
- From: dbera svn gnome org
- To: svn-commits-list gnome org
- Subject: beagle r4643 - trunk/beagle/Util
- Date: Wed, 26 Mar 2008 01:16:10 +0000 (GMT)
Author: dbera
Date: Wed Mar 26 01:16:10 2008
New Revision: 4643
URL: http://svn.gnome.org/viewvc/beagle?rev=4643&view=rev
Log:
Notify the user if beagled is started in the background mode. Otherwise, naive users can get confused if beagled silently returns the prompt.
Modified:
trunk/beagle/Util/Log.cs
Modified: trunk/beagle/Util/Log.cs
==============================================================================
--- trunk/beagle/Util/Log.cs (original)
+++ trunk/beagle/Util/Log.cs Wed Mar 26 01:16:10 2008
@@ -71,6 +71,9 @@
Log.cutoff_level = cutoff_level;
Log.running_in_foreground = running_in_foreground;
+ if (! running_in_foreground)
+ Console.WriteLine ("beagled will run in the background.\nUse beagle-status to check progress of beagled.\nFor log files check {0}/current-Beagle.\n", Log.log_directory);
+
PruneOldLogs ();
log_name_prefix = String.Format ("{0:yyyy-MM-dd-HH-mm-ss}-", DateTime.Now);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]