ha_logger.diff
Description: Binary data
Hi all, after debugging a problem for hours I found out at the end that ha_logger has a problem with long messages on the command line.
* how to get the problem: ha_logger -t test "veryveryverylongmessage" with length of "veryveryverylongmessage" is more than 1024 bytes. Output is then an usage message and an exit code of 1. This causes problems in the way ha_logger is used in ha_log.sh. (Other story) Attached you find a patch for ha_logger.c. This patch is the result of a dry coding session. I don't have the build environment. Therefore it would be great if someone could try to compile and build it and do some tests. Please don't hesitate to ask if problems arise. Best regards Andreas Mock
_______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
