Tags: operable/go-relay
Tags
Merge pull request #71 from operable/cm/tweak-tag-logic Tweak tag detection logic
Merge pull request #63 from operable/vanstee/command-env-vars Run commands with env vars defined in the bundle config
Enable logging at specified levels Previously, using response attributes `COGCMD_DEBUG`, `COGCMD_INFO`, `COGCMD_WARN`, `COGCMD_ERR`, and `COGCMD_ERROR` (i.e., the logging attributes) wouldn't actually log at the indicated levels because the regular expressions we use to match those lines wasn't extracting the logging level. Thus, the actual logging function wouldn't match properly, and we'd always fall through to log at the `INFO` level. Now, all output-matching regular expressions must have at least one capture group for relevant data. The matching groups are then passed into the callback functions, as initially desired. This passes the logging level through now, enabling the desired logging behavior.
PreviousNext