Cc pdlogs 61

Updated after review comments for the ENT feature.  
Modified the messages to capitalize acronyms.  
Removed unnecessary whitespace.  
Added full stop to end of each part of the message.  
Actions are numbered if there is more than one action.  This separates the individual actions.
Separated the log definitions with a blank line to make them more readable.  
Ran astyle (according to the coding standards) against sprout_ent_definitions.h.
Fixed header file inconsistencies.
The review comment had: "A lot of the logs still say 'report issue to support' or something similar. This just isn't suitable for Project Clearwater."
The language was kept the same as this is what is done for the SNMP alarm definitions.  The associated documentation should identify the Metaswitch support team for ClearwaterCore and the Clearwater mailing list for Clearwater.
Removed signalnames.cpp.  The signal call name is now obtained from the strsignal call.
Added it to scscfselector.cpp.

David

From: Eleanor Merry [mailto:notifications@github.com]
Sent: Wednesday, December 17, 2014 10:07 AM
To: Metaswitch/sprout
Cc: David Collins
Subject: Re: [sprout] Cc pdlogs 61 (#895)


In include/sprout_ent_definitions.h<https://github.com/Metaswitch/sprout/pull/895#discussion-diff-21981543>:

> +(

> +  PDLogBase::CL_SPROUT_ID + 10,

> +  PDLOG_ERR,

> +  "Fatal - S-CSCF and I-CSCF enabled with no Chronos service specified in /etc/clearwater/config.",

> +  "The chronos_hostname=<host:port> was not set in /etc/clearwater/config.",

> +  "The application will exit.",

> +  "Set the chronos_hostname=<host:port> option in the /etc/clearwater/config. "

> +  "Consult the Installation document."

> +);

> +

> +static const PDLog CL_SPROUT_BAD_S_CSCF_JSON

> +(

> +  PDLogBase::CL_SPROUT_ID + 11,

> +  PDLOG_ERR,

> +  "Fatal - Missing or malformed /etc/clearwater/s-cscf.json file.",

> +  "The s-cscf.json file must be corrected or created to provide S-CSCF service.",

Actually, this log doesn't seem to be used anywhere

—
Reply to this email directly or view it on GitHub<https://github.com/Metaswitch/sprout/pull/895/files#r21981543>.