diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-03-07 19:25:47 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-03-07 19:25:47 -0600 |
commit | c9375a1ee264d69e13ca6dfc450259a8d6ff9e78 (patch) | |
tree | 5e6ff7a32df09e863266aa4e876b67f87ca2d36c /soundserver | |
parent | 6d38a39e6db2e200f038bc4cb36948f367fa0e00 (diff) | |
download | arts-c9375a1ee264d69e13ca6dfc450259a8d6ff9e78.tar.gz arts-c9375a1ee264d69e13ca6dfc450259a8d6ff9e78.zip |
Add source code module name to stdout/stderr messages to improve readability.
Diffstat (limited to 'soundserver')
-rw-r--r-- | soundserver/artsd.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/soundserver/artsd.cc b/soundserver/artsd.cc index cbe5525..ffd2f2b 100644 --- a/soundserver/artsd.cc +++ b/soundserver/artsd.cc @@ -205,7 +205,7 @@ static bool publishReferences(SoundServerV2 server, if(!result && !silent) { cerr << -"Error: Can't add object reference (probably artsd is already running)." +"[artsd] Error: Can't add object reference (probably artsd is already running)." << endl << " If you are sure it is not already running, remove the relevant files:" << endl << endl << @@ -235,7 +235,7 @@ static void cleanUnusedReferences() { int i = 0; - cerr << "There are already artsd objects registered, " + cerr << "[artsd] There are already artsd objects registered, " "looking if they are active..." << endl; sleep(1); // maybe an artsd process has just started (give it some time) @@ -247,7 +247,7 @@ static void cleanUnusedReferences() i += cleanReference("Arts_AudioManager"); if(i) - cerr << "... cleaned " <<i<< " unused mcop global references." << endl; + cerr << "[artsd] ... cleaned " <<i<< " unused mcop global references." << endl; cerr << endl; } @@ -347,7 +347,7 @@ int main(int argc, char **argv) char *wrapper = getenv("STARTED_THROUGH_ARTSWRAPPER"); if (wrapper && !strcmp(wrapper, "2")) arts_warning( - "Can't set real-time scheduling priority.\n" + "[artsd] Can't set real-time scheduling priority.\n" "You need to run artswrapper as root or\n" "setuid root. This means that you will\n" "likely not be able to produce acceptable\n" @@ -355,7 +355,7 @@ int main(int argc, char **argv) if (wrapper && !strcmp(wrapper, "3")) arts_warning( - "This system has no support for real-time\n" + "[artsd] This system has no support for real-time\n" "scheduling priority. This means that you\n" "will likely not be able to produce acceptable\n" "sound (i.e. without clicks and breaks)."); |