Better logging of actions, basic api-logging, activation-logging