Does anyone here use log4net? I used it several years ago but found it to be
huge overkill because all I ever wanted to do was write everything to
rolling files. I eventually wrote my own lightweight 'RollingFile' class and
have used it for years. Now my logging needs have become a bit more
complic
On Sun, Mar 18, 2012 at 1:31 PM, Greg Keogh wrote:
[ ... ]
I’m guessing that signtool rejects expired certificates and I can’t find
> any way of overriding the behaviour. I’d still like to do some signing even
> though it is expired, because at least it sticks my identification inside
> and peopl
You're probably right, in my experience log4net silently fails if there is
anything wrong with the configuration. I don't have anything at hand but I have
configurations for email and database appenders, I think both in XML and code,
that I'll pass in later.
Sent from my iPod
On 18/03/2012, at
I had a bit of a search for this, and got many answers relating to clickonce
(some ? now-solved error in Microsoft's cpp code), but perhaps this would
work? Apparently, it worked for a few people with vs2005, vs2008, vs2010 -
In VB2005/(etc)
-Go to the property of the Project
-Select the Sig
I've been using NLog recently Greg. It's got a nuget package and is pretty
simple to use.
I've used log4net in the past but it was a while ago. I remember it being a
bit frustrating at times but I haven't had the same issues with NLog. I'm
sure they're all much of a muchness but it's working for me
Greg,
I’ve had the same issues in the past, and often resolved them with internal
debugging.
Here is a clip from the log4net website.
http://logging.apache.org/log4net/release/faq.html -- go to the ‘How do I
enable log4net internal debugging?’ section.
Rob
From: ozdotnet-boun
I have also recently started playing with log4net.
One thing that has tripped me up a couple of times now is that there needs
to be an entry in the assembyinfo.cs file. If your're using an xml config
file it needs to look like:
[assembly: log4net.Config.XmlConfigurator(ConfigFile =
"Log4net.confi
Hi Greg,
Have a look at this post of mine:
http://blog.dataconversions.com.au/post/2011/04/06/Log4Net-Filter-Configuration.aspx
There is a zip file with sample app and few config options.
Check the Form1.cs file at the top, look for* [assembly:
log4net.Config.XmlConfigurator(Watch = true)]*
You co
Ok, so given a WinForms app, I have a 'myapp.log4net' file (
https://gist.github.com/2070790) which gets copied to the output directory.
This file contains an AdoNetAppender and an SmtpAppender. The database
table is included in the l4n documentation I believe. Note the tag
at the end of the file,
>Comodo starts at $166.95 / year according to their web site.
That’s an attractive price, but there must be a catch. I’ll bet their root
certs aren’t installed by default in Windows and you have to jump through hoops
to get their cert recognised and working. Do you think?
>You're doing y
Thanks everyone for detailed replies on this, which led to find the magical
missing link to get log4net working. You need one of these:
log4net.Config.XmlConfigurator.Configure();
-or-
[assembly: log4net.Config.XmlConfigurator(ConfigFile = "testapp.exe.config",
Watch = true)]
The paramete
On Sun, Mar 18, 2012 at 2:31 PM, Greg Keogh wrote:
> Folks, I tried to sign some files using signtool.exe with my company
> certificate (PFX file) which expired a few months ago. I get the rather
> generic error “The signer's certificate is not valid for signing.”
>
>
>
> I’m guessing that signtoo
I have looked at Linq to SQL
I think I will explore Linq to EF4
I noticed that I can add the items
. ADO.NET Entity Data Model
. ADO.NET Entity Object Generator and
. ADO.NET Self-Tracking Entity Generator
If one is building ASP.NET CRUD app, which on
I noticed that I can add the items
. ADO.NET Entity Data Model
. ADO.NET Entity Object Generator and
. ADO.NET Self-Tracking Entity Generator
I haven't used the Object Generator, but plenty of the other two.
The Entity Data Model is the simplest case where you get
Thanks for the update.
I am still getting up to speed with Linq.
I am looking at both linq to sql (old I know) and linq to EF.
Regards Peter Maddin
Applications Development Officer
PathWest Laboratory Medicine WA
Phone : +618 6396 4285 (Monday, Wednesday,Friday)
Phone : +618 9346 4372 (Tu
15 matches
Mail list logo