cqframework / atom_cql_support

Apache License 2.0
4 stars 3 forks source link

Only Warning messages are displayed in the output #31

Open brynrhodes opened 3 years ago

brynrhodes commented 3 years ago
define "Trace Message":
  Message(1, true, '123', 'Trace', 'This is a trace message')

define "Warning Message":
  Message(1, true, '123', 'Warning', 'This is a warning message')

define "Information Message":
  1 + Message(2, true, '123', 'Information', 'The value is 2')

These all work, but only the Warning message is displayed in the output.

JPercival commented 3 years ago

This is due to the fact that the cql-engine uses the same logger config as is used for the overall process logging. IOW, a "trace" or "info" CQL message is interpreted as a trace or info message for the process. The process log level is set to warn. Probably need to think through the implications of sharing loggers like that, or research how to separate the configuration levels.