Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bnd.bnd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Bundle-Name: liferay-log-viewer
Bundle-SymbolicName: au.com.permeance.utility.logviewer
Bundle-Version: 7.1.2.1
Bundle-Version: 7.3.0
-sources: true
10 changes: 1 addition & 9 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
dependencies {
compileOnly group: "com.liferay", name: "com.liferay.application.list.api", version: "1.0.0"
compileOnly group: "com.liferay", name: "com.liferay.petra.string", version: "2.1.4"
compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "3.0.0"
compileOnly group: "com.liferay.portal", name: "com.liferay.util.bridges", version: "2.0.0"
compileOnly group: "com.liferay.portal", name: "com.liferay.util.taglib", version: "2.0.0"
compileOnly group: "commons-io", name: "commons-io", version: "2.6"
compileOnly group: "javax.portlet", name: "portlet-api", version: "3.0.0"
compileOnly group: "javax.servlet", name: "javax.servlet-api", version: "3.0.1"
compileOnly group: "org.osgi", name: "org.osgi.service.component.annotations", version: "1.3.0"
compileOnly group: "com.liferay.portal", name: "release.dxp.api"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

package au.com.permeance.utility.logviewer.portlets;

import com.liferay.petra.string.StringPool;
import com.liferay.portal.kernel.json.JSONFactoryUtil;
import com.liferay.portal.kernel.json.JSONObject;
import com.liferay.portal.kernel.log.Log;
Expand All @@ -23,22 +24,13 @@
import com.liferay.portal.kernel.servlet.HttpHeaders;
import com.liferay.portal.kernel.util.GetterUtil;
import com.liferay.portal.kernel.util.HtmlUtil;
import com.liferay.portal.kernel.util.PortletCategoryKeys;
import com.liferay.portal.kernel.util.StringPool;
import org.osgi.service.component.annotations.Component;

import javax.portlet.*;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;

import javax.portlet.Portlet;
import javax.portlet.PortletException;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import javax.portlet.ResourceRequest;
import javax.portlet.ResourceResponse;

import org.osgi.service.component.annotations.Component;

/**
* LogViewerPortlet
*
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/content/Language.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ you-can-set-portal-property=You can set portal property

autoattach-description=to toggle whether the logger attaches automatically on startup, default "true".
pattern-description=to configure the log4j pattern, default "%d\{ABSOLUTE\} %-5p [%c\{1\}:%L] %m%n"

javax.portlet.title.au_com_permeance_utility_logviewer_LogViewerPortlet=Log Viewer