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"';
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In