How to filter by time in Liferay PaaS logs?

Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM).

Issue

  • We can only filter by date in the UI, is there a way to filter by exact time?

Environment

  • Liferay PaaS

Resolution

  • You can only filter by date range on the UI, please see the documentation here
  • You can use the Command Line Tool to extract the logs from any specific time you want. Please check the documentation here and the example command, returning the Liferay service's application log of your project's production environment:
lcp log -p <projectname> -e prod -s liferay --since "2023-06-22T11:00:00+00:00" --until "2023-06-22T11:20+00:00" --type application > c:\Liferay\example.log
Este artigo foi útil?
Utilizadores que acharam útil: 0 de 0