Este conteúdo não está disponível no idioma selecionado.

Chapter 6. Management CLI Logging


You can capture output and other management CLI information in a log file. By default, management CLI logging is disabled. You can enable it and configure other logging settings using the EAP_HOME/bin/jboss-cli-logging.properties file.

Configure Management CLI Logging

  1. Edit the EAP_HOME/bin/jboss-cli-logging.properties file.
  2. Uncomment or add the following line to enable logging.

    # uncomment to enable logging to the file
    logger.handlers=FILE
    Copy to Clipboard Toggle word wrap
  3. Change the log level from OFF to the desired level, such as INFO or ALL.

    logger.org.jboss.as.cli.level=INFO
    Copy to Clipboard Toggle word wrap

Once you restart the management CLI, output will be logged to the EAP_HOME/bin/jboss-cli.log file.

For information on configuring other settings in a logging properties file, see the Configuring logging.properties section of the JBoss EAP Development Guide.

Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat