Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 589319 Details for
Bug 828603
update patch for logging nb #156876
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
update patch for logging nb #156876
0001-update-patch-for-logging-nb-156876.patch (text/plain), 2.50 KB, created by
gil cattaneo
on 2012-06-05 00:49:38 UTC
(
hide
)
Description:
update patch for logging nb #156876
Filename:
MIME Type:
Creator:
gil cattaneo
Created:
2012-06-05 00:49:38 UTC
Size:
2.50 KB
patch
obsolete
>From 93d979cfb5200fa129283501e8b2c106b0386ac2 Mon Sep 17 00:00:00 2001 >From: gil <puntogil@libero.it> >Date: Tue, 5 Jun 2012 00:46:55 +0200 >Subject: [PATCH] update patch for logging nb #156876 > >--- > freemarker-2.3.19~logging.patch | 22 ++++++++++++++++++++++ > freemarker.spec | 7 +++++-- > 2 files changed, 27 insertions(+), 2 deletions(-) > create mode 100644 freemarker-2.3.19~logging.patch > >diff --git a/freemarker-2.3.19~logging.patch b/freemarker-2.3.19~logging.patch >new file mode 100644 >index 0000000..3bcde1e >--- /dev/null >+++ b/freemarker-2.3.19~logging.patch >@@ -0,0 +1,22 @@ >+--- src/freemarker/log/Logger.java 2012-03-01 01:56:24.000000000 +0100 >++++ src/freemarker/log/Logger.java-gil 2012-06-05 00:38:36.004769500 +0200 >+@@ -301,12 +301,18 @@ >+ >+ try >+ { >+- return createFactory(i); >++ LoggerFactory f = createFactory(i); >++ f.getLogger("just.testing"); >++ return f; >+ } >+ catch(ClassNotFoundException e) >+ { >+ ;//Intentionally ignored >+ } >++ catch(NoClassDefFoundError e) >++ { >++ ;//Intentionally ignored >++ } >+ } >+ System.err.println("*** WARNING: FreeMarker logging suppressed."); >+ return new NullLoggerFactory(); >diff --git a/freemarker.spec b/freemarker.spec >index a9e9dc1..8aba9b5 100644 >--- a/freemarker.spec >+++ b/freemarker.spec >@@ -9,7 +9,7 @@ echo "ERROR: Sources should not contain JAR files:" && echo "$F" && exit 1 > > Name: freemarker > Version: %{fm_ver} >-Release: 1%{?dist} >+Release: 2%{?dist} > Summary: A template engine > > Group: Development/Libraries >@@ -23,7 +23,7 @@ Patch0: %{name}-%{version}-build.patch > # > Patch1: %{name}-2.3.13~PyObject.__class__.patch > # http://netbeans.org/bugzilla/show_bug.cgi?id=156876 >-Patch2: %{name}-%{version}-logging.patch >+Patch2: %{name}-%{version}~logging.patch > # illegal character in the javadoc comment > Patch3: %{name}-2.3.13~encoding.patch > # do not depend on tomcat5 >@@ -177,6 +177,9 @@ dos2unix -k docs/docs/api/package-list > %doc LICENSE.txt > > %changelog >+* Tue Jun 05 2012 gil cattaneo <puntogil@libero.it - 2.3.19-2 >+- update patch for logging >+ > * Thu May 31 2012 Omair Majid <omajid@redhat.com> - 2.3.19-1 > - Add dependency on apache-commons-logging > >-- >1.7.7.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 828603
: 589319