zhurandy / portal-issues-test

0 stars 0 forks source link

The user should have the ability to set the search scope to "all the sites they have access to". For example: User A has access to sites ABC, XYZ, DEF, GHI - search scope should be all four sites User B has access to sites ABC - search scope should be onl #129

Open zhurandy opened 10 years ago

zhurandy commented 10 years ago

I define a FileAppender to create the file mylog.log (where the log messages of my portlet must be saved). The problem is that mylog.log is never created by Liferay.

In my portal-log4j.xml (inside my plugin) I have: {code:title=portal-log4j.xml} ...

... {code}

And in my portlet I have: {code:title=NewPortlet.java} ... private static final Log LOG = LogFactoryUtil.getLog(NewPortlet.class); ... LOG.info("MY_LOG2"); ... {code}

In the console I see the message "16:13:23,695 INFO [http-bio-8080-exec-5][NewPortlet:117] MY_LOG2" but no mylog.log file is created.