[ADD] add log function in server action, to log debug information while ...

...building server action

Example of use in server action:
log('Message: %s' % obj.name)