Added action logging