Bug 4816 - Backport of log4net from Cauldron
Summary: Backport of log4net from Cauldron
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure MGA1-32-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-03-06 16:13 CET by Armando Basile
Modified: 2012-08-06 16:56 CEST (History)
4 users (show)

See Also:
Source RPM: log4net-1.2.10-5.mga1.src.rpm
CVE:
Status comment:


Attachments
Project for testing log4net. (5.16 KB, application/octet-stream)
2012-03-16 20:36 CET, Dave Hodgins
Details

Description Armando Basile 2012-03-06 16:13:09 CET
There is now log4net-1.2.10 in core/updates_testing to validate
-------------------------------------------------------


Suggested advisory:
-------------------
already present in Cauldron, is a backport

same release is present in Mandriva 2010.2 contrib/release
Comment 1 Dave Hodgins 2012-03-16 01:40:28 CET
There isn't much info in the package, or at
http://logging.apache.org/log4net

We'll need a testing procedure for this one.

CC: (none) => davidwhodgins

Comment 2 Dave Hodgins 2012-03-16 03:20:15 CET
I found a possible test at
http://sadi02.wordpress.com/2008/06/29/log4net-tutorial-in-c-net-how-can-i-show-log-in-a-file/
however, when I try to run the c# program in monodevelop, I get a message

"The type or namespace 'log4net' could not be found. Are you missing a using directive or an assembly reference?"

The message show up beside the line
using log4net;

Suggestions?
Comment 3 Armando Basile 2012-03-16 09:00:02 CET
You should install also log4net-devel package, monodevelop use .pc files to enum and add ref to project.
Comment 4 Dave Hodgins 2012-03-16 20:36:17 CET
Created attachment 1781 [details]
Project for testing log4net.

Testing complete on i586 for the srpm
log4net-1.2.10-5.mga1.src.rpm

The solution for the not found, after installing the -devel package
is to right click on the references tab, select edit references,
then check the log4net option.

In addition, the code sample on the web page has
void Main(string[] args)
but needs
static void Main(string[] args)

Also, instead of
log4net.ILog log = log4net.LogManager.GetLogger(Program);
it needs
log4net.ILog log = log4net.LogManager.GetLogger("Program");

For testing on x86-64, you should be able to tar -xf the attached file
in ~/Projects, and then run the project in monodevelop.
Comment 5 Dave Hodgins 2012-04-04 21:35:47 CEST
We still need an x86-64 test for log4net.
Samuel Verschelde 2012-07-08 14:14:10 CEST

CC: (none) => stormi
Whiteboard: (none) => MGA1-32-OK

Comment 6 Samuel Verschelde 2012-07-08 14:22:00 CEST
I've never used monodevelop nor mono at all, Dave do you remember the exact procedure you followed?
Comment 7 Samuel Verschelde 2012-07-28 17:49:21 CEST
Ping Dave, any chance to get a procedure to help me test it?
claire robinson 2012-08-02 11:13:41 CEST

Whiteboard: MGA1-32-OK => has_procedure MGA1-32-OK

Comment 8 Samuel Verschelde 2012-08-05 14:40:51 CEST
We can't let this update die, already more than 4 months. I'll exceptionnally validate it.

SRPM: log4net-1.2.10

--- Advisory ---
This update adds log4net to Mageia 1 for better upgrade path from Mandriva 2010.x, since it was present there and not in Mageia 1 until now.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 9 Thomas Backlund 2012-08-06 16:56:53 CEST
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0151

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.