Add log for each API actions