Issue
- How to customize Liferay Startup Logo Customization
Environment
- Liferay 7.3
- Liferay 7.4
Resolution
NOTE: The following resolution requires customization and should only be implemented at the discretion of your team. Liferay Support will not be able to assist with designing or implementing customizations.
It is possible to change the startup logo in Liferay, which appears in the server logs of the customer. Below are the steps to resolve the issue:
- Navigate to the directory: liferay_home/tomcat/webapps/ROOT/WEB-INF/lib.
- In the lib folder, create a new folder inside the lib folder (let's say infra).
- Copy the portal-impl.jar inside the newly created folder.
- Then unzip the portal-impl.jar inside the newly created infra folder.
- After unzipping, navigate to the directory "infra/com/liferay/portal/events/dependencies/startup.txt".
- Once the user reaches the startup.txt file, the user can change "Liferay" to "WEBPLATFORM" (let's say) using the nano command or by opening it in any text editor.
- The user can check your changes using the command: cat startup.txt.
- Then user can delete the portal-impl.jar inside the infra folder using the command: rm -rf portal-impl.jar.
- Compress the newly changed JAR file inside the infra folder using the command: jar cf portal-impl.jar .
- Navigate to the directory to start the server, i.e., liferay_home/tomcat/bin. Kindly perform a clean restart.