You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2020/08/11 12:22:00 UTC

[jira] [Updated] (HDDS-4099) No Log4j 2 configuration file found error appears in CLI

     [ https://issues.apache.org/jira/browse/HDDS-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Doroszlai updated HDDS-4099:
-----------------------------------
    Description: 
The following message appears in CLI for several commands.
{code:java}
ERROR StatusLogger No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2
{code}
Sample commands from acceptance test logs:
 * {{ozone freon randomkeys --numOfVolumes 5 --numOfBuckets 5 --numOfKeys 5 --numOfThreads 1 --replicationType RATIS --factor THREE --validateWrites 2}}
 * {{ozone sh key put 32139-target/link1/key1 /etc/passwd}}
 * {{ozone freon ockg -t=1 -n=1}}
 * {{ozone fs -ls ofs://om/fstest1/bucket1-ofs}}

  was:
The following message appears in CLI for several commands.

{code}
ERROR StatusLogger No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2
{code}

Sample commands from acceptance test logs:

* {{ozone freon randomkeys --numOfVolumes 5 --numOfBuckets 5 --numOfKeys 5 --numOfThreads 1 --replicationType RATIS --factor THREE --validateWrites 2}}
* {{ozone sh key put 32139-target/link1/key1 /etc/passwd}}
* {{ozone freon ockg  -t=1 -n=1}}


> No Log4j 2 configuration file found error appears in CLI
> --------------------------------------------------------
>
>                 Key: HDDS-4099
>                 URL: https://issues.apache.org/jira/browse/HDDS-4099
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone CLI
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> The following message appears in CLI for several commands.
> {code:java}
> ERROR StatusLogger No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2
> {code}
> Sample commands from acceptance test logs:
>  * {{ozone freon randomkeys --numOfVolumes 5 --numOfBuckets 5 --numOfKeys 5 --numOfThreads 1 --replicationType RATIS --factor THREE --validateWrites 2}}
>  * {{ozone sh key put 32139-target/link1/key1 /etc/passwd}}
>  * {{ozone freon ockg -t=1 -n=1}}
>  * {{ozone fs -ls ofs://om/fstest1/bucket1-ofs}}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org