project-flogo / core

Flogo Core is the core flogo library used create and extend Flogo applications.
BSD 3-Clause "New" or "Revised" License
110 stars 53 forks source link

Add handler name and trigger id as context of handler logger #248

Closed lixingwang closed 3 years ago

lixingwang commented 3 years ago

What kind of change does this PR introduce? (check one with "x")

[] Bugfix
[] Feature
[] Code style update (formatting, local variables)
[] Refactoring (no functional changes, no api changes)
[*] Other... Please describe: Enhance the handler logger

Fixes: #

What is the current behavior?

Today we added handler name as part of logger name which causes trigger name too long if user have a long name for the handler. What is the new behavior?

Move handler name to context logger which only prints when enabling context logging.