Project

General

Profile

Idea #999

Message Service defaults

Added by Mark Messier over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Infrastructure
Target version:
Start date:
02/18/2011
Due date:
% Done:

100%

Estimated time:
Experiment:
-
SSI Package:
Duration:

Description

I (and some others on the experiment) find the default settings for the message service idiosyncratic. Unix already provides a mechanism for routing cout and cerr to files if desired:

(nova -c job.fcl file.root > out ) >& err

and I don't think the message service should by default undermine this by sending messages to files the user didn't ask for. So, my suggestion is that the default message service configuration should send messages of "INFO" class to cout and all others (DEBUG, WARNINGS, ERRORS, ...) to cerr by default. This, I think, would align the default behavior more with what UNIX users expect.


Related issues

Related to art - Feature #912: Explore messagefacility configuration options and devise a useful set of defaults.Closed02/01/2011

History

#1 Updated by Christopher Green over 8 years ago

  • Category set to Infrastructure
  • Status changed from New to Resolved
  • Assignee set to Christopher Green
  • Target version set to 0.06.00
  • % Done changed from 0 to 100

I have injected the following defaults in the absence of a specified message parameter set:

message:
{
  destinations:
  {
    STDOUT:
    {
      categories:
      {
        ArtReport:
        {
          limit:100
        }
        default:
        {
          limit:-1
        }
      }
      threshold:INFO
      type:cout
    }
  }
}

This can of course be tweaked if desired. It is not possible currently to send messages of a range of severities to a destination: only a single threshold. Sending the more severe errors to stderr would result therefore in message duplication.

#2 Updated by Walter E Brown over 8 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF