Verbose Error Messages
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.
Issue
- The name of the technologies used, such as Apache Coyote, Tomcat, etc. are visible.
Resolution
-
Each application is responsible for allowing its information to be displayed but not Liferay. We can definitely restrict the Verbose related to Liferay and those can be managed through the below properties:
# Set the level of verbosity to use in the server information line printed # by the web server servlet. Valid values are "full", which gives all of the
# version information (e.g. Liferay Portal Community Edition 6.1.0 CE etc.)
# or "partial", which gives only the name portion (e.g. Liferay Portal
# Community Edition).
#
# Env: LIFERAY_WEB_PERIOD_SERVER_PERIOD_SERVLET_PERIOD_VERSION_PERIOD_VERBOSITY
#
web.server.servlet.version.verbosity=full
# Set the level of verbosity to use for the Liferay-Portal field in the HTTP
# header response. Valid values are "full", which gives all of the version
# information (e.g. Liferay Portal Community Edition 6.1.0 CE etc.),
# "partial", which gives only the name portion (e.g. Liferay Portal
# Community Edition), or "off" which prevents the Portal from adding the
# Liferay-Portal field in the HTTP header response.
#
# Env: LIFERAY_HTTP_PERIOD_HEADER_PERIOD_VERSION_PERIOD_VERBOSITY
#
http.header.version.verbosity=full
These can only be managed at Liferay. However, in case there are still some concerns, please connect with the respective vendors.
Please Note: After adding the above properties, the restart of the server is required.
Did this article resolve your issue ?