Help Center

产品
资源
安全
支持
Sign In
  1. Liferay
  2. Liferay DXP Cloud文档
  3. Application Management
  • Shell Access
  • Environment Variables
  • Log Management
  • Custom Domains
  • Backup and Restore
  • Health Checks and Zero Downtime
  • Auto Scaling

Log Management

One of the most efficient ways of debugging your application is checking its logs. On DXP Cloud, you can access your environment's logs via the Web Console, CLI, or downloading the log file.

Accessing Logs from Web Console

The easiest way of accessing an environment's logs is via the Web Console. To do that, you can select which environment you want to access and click on the Logs tab on the left-side menu.

Logs page

If you want to access a specific service logs, you can select the service by clicking on the selector.

Switch service logs

Downloading Environment Logs

You can also download your environment logs by clicking on Download Logs button located on the logs page.

Download logs

Accessing Logs from the CLI

Another way of accessing logs is via your CLI. You can access it by running the following command on your terminal:

we log

It will list all your services so that you can choose the one you want to access the logs. If you want to access logs from a specific environment you can type its id or run the command containing the ID of your environment:

we log -p myenvironmentid

The same is for specifying a service:

we log -p myenvironmentid -s myserviceid 
这篇文章有帮助吗?
1 人中有 1 人觉得有帮助

资源

  • 下载
  • 文档
  • 许可证
  • LESA

订阅

  • 联系我们
  • 账户支持
  • 关于支持的常见问题

相关网站

  • Liferay.com
  • Marketplace
© 2019 Liferay Inc. All Rights Reserved
简体中文 English (US) Español 日本語 Português