Not able to download the logs of more than 10000 lines
Written By
Sivakumar Perumal
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Note: please note that Liferay has renamed its Liferay Experience
Could offerings to Liferay SaaS (formerly LXC) and
Liferay PaaS (formerly LXC-SM).
Issue
- How to download more logs as the default "Download Logs" option is downloading only 10000 lines of logs?
Resolution
-
The observed behavior is the intended behavior as the downloaded log file will contain only 10000 lines of logs. The reason why we have such limit is to prevent an enormous amount of load that could affect the network. A download of millions of lines could have a negative effect.
-
The CLI should help to fetch more than 10k lines. There are two parameters that are very useful, such as "since" and "until".
For example:
lcp log --since "04/01/2020 09:00:00" --until "04/02/2020 15:00:00" -p projectname-env -s webserver
To pipe the output of the CLI command into a separate file:
lcp log -p team -s liferay --since “3 days ago” >> "log.txt"
- In case any further logs or historical logs are required, please reach out to Liferay Experience Cloud SM Support by creating a help center ticket.
Did this article resolve your issue ?