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

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

GitHub user svarnau opened a pull request:

    https://github.com/apache/trafodion/pull/1728

    [TRAFODION-2626] Make logs directory location configurable

    Makes path to log directory independent of TRAF_HOME. The default location
    is still $TRAF_HOME/logs. The DCS and REST log directories are now
    sub-directories of the main TRAF_LOG directory.
    
    Changes were pretty straight-forward, except the monitor stdout_* files.  
Someone familiar with foundation should have a look.
    
    Tested in local_hadoop environment, with TRAF_LOG set to alternate path and 
normal logs directory blocked.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/svarnau/trafodion j2626

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafodion/pull/1728.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1728
    
----
commit 2fc08c974766c40dc51b374f172490243cc1239f
Author: Steve Varnau <steve.varnau@...>
Date:   2018-10-16T21:58:01Z

    [TRAFODION-2626] Make logs directory location configurable
    
    Makes path to log directory independent of TRAF_HOME. The default location
    is still $TRAF_HOME/logs. The DCS and REST log directories are now
    sub-directories of the main TRAF_LOG directory.

----


> 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