|
Loading...
|
log4net-user@logging.apache.org
[Prev] Thread [Next] | [Prev] Date [Next]
Re: Log4Net for Windows 2008 64bit machine Damien Carol Thu Mar 22 11:00:08 2012
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Vanitha,<br>
<br>
There are another solution. Try to compile you code with the
"AnyCPU" mode.<br>
<br>
after that you must control each dll with ILSpy that any of you
assembly are in "AnyCPU" mode.<br>
<br>
If all you assemblies are in AnyCPU mode, you can use it with x86 or
x86_64 OS.<br>
<br>
If you can't compile in AnyCPU mode. My advice is to compile in
"x86" mode in order to force x86 execution mode.<br>
<br>
My 2 cents<br>
<br>
Le 22/03/2012 17:11, Martin Milan a écrit :
<blockquote
cite="mid:[EMAIL PROTECTED]"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"MS Shell Dlg 2";
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.emailstyle17
{mso-style-name:emailstyle17;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.balloontextchar0
{mso-style-name:balloontextchar;
font-family:"Tahoma","sans-serif";}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="color:#1F497D">Vanitha,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I am not part
of the log4net team, and the following are my own view, and
not necessarily those of my employer.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Basically, all
of the DLLs in your application must be of the same
architecture – either all 32bit, or all 64 bit. You
can’t
have so many in one and so many in the other.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">So long as you
keep to that, you shouldn’t have too much difficulty. The
reason you can use the 32bit Dlls on your 64 bit machine
comes down to something known as Windows on Windows –
basically it emulates a 32bit environment for your app and
on you go. You don’t have to do anything – so long as
all
your dlls are 32 bit, it will just work.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">If you want to
move to 64bit, you’ll need to compile all of your Dlls –
that’s your app and anything it references (including
log4net, excluding GAC) will need to be recompiled as 64 bit
assemblies.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I would
question why you want to do this – by doing it you will
prevent your application from being able to be deployed in
32 bit environments. By staying with 32bit you can deploy to
both 32 and 64bit environments. By moving to 64 bit you will
lose that, so I would want a reason to make that transition
– and a better one than “it just sounds
better…”<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D">Martin.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US"> Venkatasamy, Vanitha
[<a class="moz-txt-link-freetext" href="mailto:[EMAIL
PROTECTED]">mailto:[EMAIL PROTECTED]</a>] <br>
<b>Sent:</b> 22 March 2012 15:47<br>
<b>To:</b> Log4NET User<br>
<b>Subject:</b> Log4Net for Windows 2008 64bit
machine<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi All ,
<o:p></o:p></span></p>
<p class="MsoNormal"><span
lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> We are
planning to
move the application having log4net code to a </span><span
style="font-size:9.0pt;font-family:"MS Shell Dlg
2","sans-serif";color:black"
lang="EN-US"> windows
2008 64bit machine. The application uses a dll ,which has
the log4net error logging code with below dll’s referenced
in there</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue" lang="EN-US"> </span><span
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue" lang="EN-US">using</span><span
style="font-size:10.0pt;font-family:"Courier
New"" lang="EN-US"> log4net;</span><span
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue" lang="EN-US">using</span><span
style="font-size:10.0pt;font-family:"Courier
New"" lang="EN-US"> log4net.Config;</span><span
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">and I am using </span><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue" lang="EN-US">EventLogAppender,</span><span
lang="EN-US"> </span><span
style="font-size:10.0pt;font-family:"Courier
New";color:blue" lang="EN-US">RollingFileAppender and
custom
sendAlertAppender.MultiThresholdNotifyingAppender,sendAlertAppender
.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Please let me know
,whether it’s going to be any issue .<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Vanitha<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif""
lang="EN-US"><o:p> </o:p></span></p>
<div class="MsoNormal" style="text-align:center" align="center"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif"" lang="EN-US">
<hr align="center" size="2" width="100%"></span></div>
<p class="MsoNormal"><span
style="font-size:7.5pt;font-family:"Arial","sans-serif";color:black"
lang="EN-US"><br>
This message contains Devin Group confidential information
and is intended only for the individual named. If you are
not the named addressee you should not disseminate,
distribute or copy this e-mail.<br>
Please notify the sender immediately by e-mail if you have
received this e-mail in error and delete this e-mail from
your system. E-mail transmissions cannot be guaranteed
secure, error-free and information could be intercepted,
corrupted, lost, destroyed, arrive late, incomplete, or
contain viruses. The sender therefore does not accept
liability for errors or omissions in the contents of this
message which may arise as result of transmission. If
verification is required please request hard-copy
version.</span><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif"" lang="EN-US"><o:p></o:p></span></p>
</div>
<title> Enserve Group Legal Disclaimer </title>
<p align="justify"><font face="calibri" size="1">EnServe Group
Limited ("EnServe"), registered in England and Wales with
registration number 3250709.EnServe's registered office is at
Hertsmere House, Shenley Road, Borehamwood, Herts, WD6 1TE,
United Kingdom and a list of EnServe's subsidiaries and their
registered particulars is available for inspection at this
location. This email and any attachments to it are
confidential and are intended solely for the use of the
individual to whom it is addressed. Any views or opinions
expressed are solely those of the author and do not
necessarily represent those of EnServe or its subsidiaries. If
you are not the intended recipient of this email, you must
neither take any action based upon its contents, nor copy or
show it to anyone. Please contact the sender if you believe
you have received this email in error.
<br>
</font></p>
<p align="Center"><font face="calibri" size="1"><font face="Arial"
size="2"><b>This message has been scanned by Symantec Mail
Security</b></font></font></p>
<font face="calibri" size="1">
</font></blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<div style="font-family:Geneva,Helvetica,sans-serif;">
<p style="font-weight:bold;font-size:12px;color:#333;margin: 0 0
10px 0;">Damien CAROL</p>
<ul style="list-style:none;margin:0;padding:0;">
<li style="font-size:11px;margin:0;padding:0;"><span
style="color:#999;">tél :</span><span
style="color:#333"> +33
(0)4 74 96 88 14</span></li>
<li style="font-size:11px;margin:0;padding:0;"><span
style="color:#999;">email :</span><span
style="color:#333"> <a
href="mailto:[EMAIL PROTECTED]">[EMAIL
PROTECTED]</a></span></li>
</ul>
<p style="font-family:Geneva,Helvetica,sans-serif;font-size:
18px;letter-spacing:2px;margin:10px 0 0 0;"><img
src="cid:part2.00070100.01000802@blitzbs.com"
style="vertical-align:middle;margin:-3px 5px 0 0"><span
style="color:#105692;">BLITZ</span> <span
style="color:#A7A9A9;">BUSINESS SERVICE</span></p>
</div>
</div>
</body>
</html>
- Log4Net for Windows 2008 64bit machine Venkatasamy, Vanitha 2012/03/22
- RE: Log4Net for Windows 2008 64bit machine Martin Milan 2012/03/22
- RE: Log4Net for Windows 2008 64bit machine Martin Milan 2012/03/22
- Re: Log4Net for Windows 2008 64bit machine Damien Carol 2012/03/22 <=
- RE: Log4Net for Windows 2008 64bit machine Venkatasamy, Vanitha 2012/03/22
- RE: Log4Net for Windows 2008 64bit machine Martin Milan 2012/03/22
- Re: Log4Net for Windows 2008 64bit machine Todd 2012/03/22
- RE: Log4Net for Windows 2008 64bit machine Radovan Raszka 2012/03/23
- RE: Log4Net for Windows 2008 64bit machine Venkatasamy, Vanitha 2012/03/28