[ADD] ir_actions add logging to server actions

The log(message, level='info') function will create ir_logging records, useful
to debug server actions.

Closes: #928