setting max message size with a variable.  re-adding action to message when output via cli so it's not messed up for the syslog