| Summary: | Backport of log4net from Cauldron | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Armando Basile <hmandevteam> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | CC: | davidwhodgins, stormi-mageia, sysadmin-bugs, tmb |
| Version: | 1 | Keywords: | validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | has_procedure MGA1-32-OK | ||
| Source RPM: | log4net-1.2.10-5.mga1.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: | Project for testing log4net. | ||
|
Description
Armando Basile
2012-03-06 16:13:09 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 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? You should install also log4net-devel package, monodevelop use .pc files to enum and add ref to project. 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.
We still need an x86-64 test for log4net.
Samuel Verschelde
2012-07-08 14:14:10 CEST
CC:
(none) =>
stormi I've never used monodevelop nor mono at all, Dave do you remember the exact procedure you followed? 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 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 Update pushed: https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0151 Status:
NEW =>
RESOLVED |