Moving logging and license related auditing to a behavior