You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/03/06 15:43:00 UTC

[jira] [Work logged] (KNOX-1803) Stop redirecting stderr & stdout to a file when the server runs in the foreground

     [ https://issues.apache.org/jira/browse/KNOX-1803?focusedWorklogId=208899&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-208899 ]

ASF GitHub Bot logged work on KNOX-1803:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Mar/19 15:42
            Start Date: 06/Mar/19 15:42
    Worklog Time Spent: 10m 
      Work Description: smolnar82 commented on pull request #64: KNOX-1803 - Stop redirecting stderr & stdout to a file when the server runs in the foreground
URL: https://github.com/apache/knox/pull/64
 
 
   ## What changes were proposed in this pull request?
   
   Gateway's output (both standard output and error) is being redirected even if the `GATEWAY_SERVER_RUN_IN_FOREGROUND` environment variable is set to `true`. This should be stopped so that end-users get immediate feedback in case of any error upon startup (without browsing error/output files).
   
   ## How was this patch tested?
   
   Manual testing:
   ```
   $ export GATEWAY_SERVER_RUN_IN_FOREGROUND=true
   
   $ echo $GATEWAY_SERVER_RUN_IN_FOREGROUND
   true
   
   $ ./knox-1.3.0-SNAPSHOT/bin/gateway.sh start
   log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
   log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.
   ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 208899)
            Time Spent: 10m
    Remaining Estimate: 0h

> Stop redirecting stderr & stdout to a file when the server runs in the foreground
> ---------------------------------------------------------------------------------
>
>                 Key: KNOX-1803
>                 URL: https://issues.apache.org/jira/browse/KNOX-1803
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.2.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>             Fix For: 1.3.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Gateway's output (both standard output and error) is being redirected even if the {{GATEWAY_SERVER_RUN_IN_FOREGROUND}} environment variable is set to true. This should be stopped so that end-users get immediate feedback in case of any error upon startup (without browsing error/output files).



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