change sendLogToClient to accept string

string literal to char * is often deprecated, and it's easier on the user
to take care of formatting themselves, e.g. with stringstream before hand
fixed GRUP -> GROUP typo on action type