Legacy Knowledge Base
Publicado Jun. 25, 2030

Need to check access logs from webserver in Liferay PaaS environment

Written By

Anishq Sharma

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

  • User needs access to webserver's access logs to check which IPs have accessed their site.

Environment

  • Liferay DXP 7.3+

Resolution

  • Webserver logs already contains the access logs in the Application log itself.
  • Logs format is as below, with $remote_addr added for user's IP:
    log_format  main escape=default  '[nginx] $http_host $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent $request_time "$http_referer" "$http_user_agent"';
Did this article resolve your issue ?

Legacy Knowledge Base