在 运行 Liferay 上发布
Release on an running Liferay
如何知道 运行 liferay 的发布?有什么文件可以检查吗?
我试图检查自述文件的圆顶,但没有找到任何东西
转到控制面板 -> 服务器管理,那里会显示版本:
另一种选择是检查 (grep) $LIFERAY_HOME/logs/liferay.yyyy-mm-dd.log
,它在启动期间报告版本号:
08:49:06,691 INFO [fileinstall-C:/liferay70/osgi/marketplace][BundleStartStopLogger:35] STARTED Liferay CE Foundation_7.0.7 [174]
如果您没有更改 http.header.version.verbosity=full
它在响应中显示的 liferay 版本 headers.
以下是有关此 属性 的信息,来自 portal.properties liferay 来源。
#
# 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 the default release name (e.g. "Liferay Portal
# Community Edition" or "Liferay Portal Enterprise Edition"), which prevents
# the Portal from adding the Liferay-Portal field in the HTTP header
# response. The default release name must match the Portal edition being
# used.
#
http.header.version.verbosity=full
希望对您有所帮助
如何知道 运行 liferay 的发布?有什么文件可以检查吗?
我试图检查自述文件的圆顶,但没有找到任何东西
转到控制面板 -> 服务器管理,那里会显示版本:
另一种选择是检查 (grep) $LIFERAY_HOME/logs/liferay.yyyy-mm-dd.log
,它在启动期间报告版本号:
08:49:06,691 INFO [fileinstall-C:/liferay70/osgi/marketplace][BundleStartStopLogger:35] STARTED Liferay CE Foundation_7.0.7 [174]
如果您没有更改 http.header.version.verbosity=full 它在响应中显示的 liferay 版本 headers.
以下是有关此 属性 的信息,来自 portal.properties liferay 来源。
#
# 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 the default release name (e.g. "Liferay Portal
# Community Edition" or "Liferay Portal Enterprise Edition"), which prevents
# the Portal from adding the Liferay-Portal field in the HTTP header
# response. The default release name must match the Portal edition being
# used.
#
http.header.version.verbosity=full
希望对您有所帮助