You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by "Julie MacNaught (JIRA)" <ws...@ws.apache.org> on 2005/04/12 00:31:16 UTC

[jira] Resolved: (WSRP4J-28) Make log file a relative path

     [ http://issues.apache.org/jira/browse/WSRP4J-28?page=history ]
     
Julie MacNaught resolved WSRP4J-28:
-----------------------------------

     Resolution: Fixed
    Fix Version: current (nightly)

Fixed both proxy portlet and producer wsrp4j-logger.properties files so that the location of the log file is "./" .  Your log files will end up in the current working directory by default.

> Make log file a relative path
> -----------------------------
>
>          Key: WSRP4J-28
>          URL: http://issues.apache.org/jira/browse/WSRP4J-28
>      Project: WSRP4J
>         Type: Improvement
>   Components: Portlets
>     Versions: current (nightly)
>     Reporter: Ken Weiner
>     Priority: Minor
>      Fix For: current (nightly)

>
> The wsrp4j-logger.properties file that is included with the ProxyPortlet contains the following log file setting:
> log4j.appender.A1.File=@HOME@/logs/wsrp4j-consumer.log
> I think it should be changed to a relative path like this:
> log4j.appender.A1.File=wsrp4j-consumer.log
> This would cause the log file to be written to the java working directory by default instead of emitting error messages until that file is configured properly.
> Alternatively, the JSR 168 logging facility, PortletContext.log() could be used which would allow us to get rid of the Log4J dependency altogether (I think).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira