Add the audience field to the logging
Description
Conclusion
relates to
Activity

Gavin Halliday March 2, 2018 at 12:01 PM
The only work as far as I know is to set the flag to actually output the values to the log file.

Mark Kelly March 1, 2018 at 8:24 PM
is there more to add here or do you think this is already supported ?

Rodrigo Pastrana February 20, 2018 at 7:09 PM
FYI, these are the current AUD options:
MSGAUD_unknown = 0x00,
MSGAUD_operator = 0x01,
MSGAUD_user = 0x02,
MSGAUD_monitor = 0x04,
MSGAUD_performance = 0x08,
MSGAUD_internal = 0x10,
MSGAUD_programmer = 0x20,
MSGAUD_legacy = 0x40,
MSGAUD_audit = 0x80,
MSGAUD_all = 0xFF
MSGAUD_user seems to be the default on several exception handling methods
These are the abbreviation map:
if(strnicmp(abbrev, "AUD", 3)==0)
return MSGFIELD_audience;
if(strnicmp(abbrev, "CLS", 3)==0)
return MSGFIELD_class;
if(strnicmp(abbrev, "DET", 3)==0)
return MSGFIELD_detail;
if(strnicmp(abbrev, "MID", 3)==0)
return MSGFIELD_msgID;
if(strnicmp(abbrev, "TIM", 3)==0)
return MSGFIELD_time;
if(strnicmp(abbrev, "DAT", 3)==0)
return MSGFIELD_date;
if(strnicmp(abbrev, "PID", 3)==0)
return MSGFIELD_process;
if(strnicmp(abbrev, "TID", 3)==0)
return MSGFIELD_thread;
if(strnicmp(abbrev, "NOD", 3)==0)
return MSGFIELD_node;
if(strnicmp(abbrev, "JOB", 3)==0)
return MSGFIELD_job;
if(strnicmp(abbrev, "USE", 3)==0)
return MSGFIELD_user;
if(strnicmp(abbrev, "SES", 3)==0)
return MSGFIELD_session;
if(strnicmp(abbrev, "COD", 3)==0)
return MSGFIELD_code;
if(strnicmp(abbrev, "MLT", 3)==0)
return MSGFIELD_milliTime;
if(strnicmp(abbrev, "MCT", 3)==0)
return MSGFIELD_microTime;
if(strnicmp(abbrev, "NNT", 3)==0)
return MSGFIELD_nanoTime;
if(strnicmp(abbrev, "COM", 3)==0)
return MSGFIELD_component;
if(strnicmp(abbrev, "QUO", 3)==0)
return MSGFIELD_quote;
if(strnicmp(abbrev, "PFX", 3)==0)
return MSGFIELD_prefix;
if(strnicmp(abbrev, "ALL", 3)==0)
return MSGFIELD_all;
if(strnicmp(abbrev, "STD", 3)==0)
return MSGFIELD_STANDARD;
and STD expands to: MSGFIELD_timeDate | MSGFIELD_milliTime | MSGFIELD_msgID | MSGFIELD_process | MSGFIELD_thread | MSGFIELD_code | MSGFIELD_quote | MSGFIELD_prefix)
For the log visualizer work, we might want to default/force the NODE and component fields.

Rodrigo Pastrana February 20, 2018 at 3:52 PM
If this is related to the logviewer, we wanted to be able to filter out messages to be processed by the logviewer,
Are there other AUD options other than Prog/User?

Mark Kelly February 20, 2018 at 3:41 PM
Was there more to this, ie additional audience types or adding log msg priority that this issue would include ?
Details
Components
Assignee
Shamser AhmedShamser AhmedReporter
Gavin HallidayGavin HallidayPriority
MajorCompatibility
MinorFix versions
Labels
Pull Request URL
Due date
Jun 28, 2019
Details
Details
Components
Assignee

Reporter

It would be useful for when post processing the log files to include the expected audience.