Github user DaveBirdsall commented on a diff in the pull request: https://github.com/apache/trafodion/pull/1728#discussion_r226128603 --- Diff: core/sql/sqludr/SqlUdrPredefLogReader.cpp --- @@ -530,37 +530,28 @@ void ReadCppEventsUDFInterface::processData(UDRInvocationInfo &info, { char* logrootdir = NULL; char* confrootdir = NULL; + + logrootdir = getenv("TRAF_LOG"); + if (strlen(logrootdir) > 1000) + throw UDRException(38001, "TRAF_HOME is longer than 1000 characters"); --- End diff -- Should say, TRAF_LOG is longer than 1000 characters
---