Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2011 18:19:07 GMT
From:      Phil Phillips <pphillips@experts-exchange.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/159923: [PATCH] net-im/openfire: Openfire does not log
Message-ID:  <201108191819.p7JIJ7OS041499@red.freebsd.org>
Resent-Message-ID: <201108191820.p7JIKAjX094225@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         159923
>Category:       ports
>Synopsis:       [PATCH] net-im/openfire: Openfire does not log
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 19 18:20:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Phil Phillips
>Release:        8.2-RELEASE
>Organization:
Experts Exchange, LLC
>Environment:
FreeBSD ip3.experts-exchange.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Current openfire port does not set up logging correctly.  Nothing is added to logs in /var/log/openfire.
>How-To-Repeat:
1. Tail logs in /var/log/openfire
2. Start openfire

There will be no log output
>Fix:
There is a log4j.xml file that needs to be installed with openfire.  This tells the server how and where to log.

Patch attached with submission follows:

--- Makefile.orig	2011-03-22 01:05:11.000000000 -0700
+++ Makefile	2011-08-19 11:09:26.000000000 -0700
@@ -40,6 +40,7 @@
 do-install:
 
 	(cd ${INSTALL_WRKSRC}/lib && ${INSTALL} -m 744 *.jar ${JAVAJARDIR})
+	${INSTALL_DATA} ${INSTALL_WRKSRC}/lib/log4j.xml ${JAVAJARDIR}
 
 	${MKDIR} ${DATADIR}
 	${MKDIR} ${VARLOG}
--- pkg-plist.orig	2011-03-22 01:05:11.000000000 -0700
+++ pkg-plist	2011-08-19 11:10:41.000000000 -0700
@@ -49,6 +49,7 @@
 %%JAVAJARDIR%%/jasper-runtime.jar
 %%JAVAJARDIR%%/jdic.jar
 %%JAVAJARDIR%%/jtds.jar
+%%JAVAJARDIR%%/log4j.xml
 %%JAVAJARDIR%%/mail.jar
 %%JAVAJARDIR%%/mysql.jar
 %%JAVAJARDIR%%/openfire.jar


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108191819.p7JIJ7OS041499>