Change-Id: I3e6df1c687d7d379f13078dbca7450cda34a97d5
#include <dlog-redirect-stdout.h>
#include <logcommon.h>
-/* Tag length is limited by maximum request size. */
-#define MAX_TAG_LENGTH (MAX_LOGGER_REQUEST_LEN - sizeof(struct dlog_control_msg) - sizeof(struct dlog_control_msg_stdout))
+/* Tag length limited arbitrarily: in theory it can be as long
+ * as LOG_MAX_PAYLOAD_SIZE, but in practice it tends to be up to
+ * about 20ish and it would be good to keep it that way. */
+#define MAX_TAG_LENGTH 128
struct parse_redirect_info {
bool enabled;