You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2019/11/06 17:50:00 UTC

[jira] [Created] (KNOX-2100) knoxshell doesn't setup logging correctly

Kevin Risden created KNOX-2100:
----------------------------------

             Summary: knoxshell doesn't setup logging correctly
                 Key: KNOX-2100
                 URL: https://issues.apache.org/jira/browse/KNOX-2100
             Project: Apache Knox
          Issue Type: Bug
          Components: KnoxShell
            Reporter: Kevin Risden
             Fix For: 1.4.0


KnoxShell has a log4j properties but doesn't look like packaging is setup correctly to use that since log4j is missing.

{code:java}
./bin/knoxshell.sh init https://knox_host/default/knox-token
Enter username: guest
Enter password:
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Failure to acquire token. Please verify your credentials and Knox URL and try again.
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)