[ 
https://issues.apache.org/jira/browse/TRAFODION-2626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16654390#comment-16654390
 ] 

ASF GitHub Bot commented on TRAFODION-2626:
-------------------------------------------

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


> Log/Conf seperation from TRAF_HOME
> ----------------------------------
>
>                 Key: TRAFODION-2626
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2626
>             Project: Apache Trafodion
>          Issue Type: Improvement
>            Reporter: Steve Varnau
>            Assignee: Steve Varnau
>            Priority: Major
>
> Dynamic files (configuration and log files) should be separated from 
> delivered software.  It should be possible to have config files in /etc, log 
> files in /var/log, and runtime software in /usr or /opt.
> First step is to have conf and log variables separate from TRAF_HOME.
> Proposal is to add following variables which can be used either in 
> development or production environments to specify locations:
> TRAF_HOME - executable / read-only locations
> TRAF_CONF - configuration files location
> TRAF_LOG - ouput logging location
> TRAF_VAR - temporary / status files (node-local pid files, lock files, etc)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to