I also encountered this when I have duplicate appender references. Post your config. ___________________________________________________ Karel Kral, vyvojar ANETE, s.r.o. Prostredi: VB.NET, VS2005, XP Pro/P4 3GHz, 2GB RAM ___________________________________________________
On 5.12.2006 5:45, Ron Grabowski wrote: > Posting your configuration would be helpful. > > > ----- Original Message ---- > > From: Daniel Essin <[EMAIL PROTECTED]> > > To: log4net-user@logging.apache.org > > Sent: Monday, December 4, 2006 9:23:07 PM > > Subject: Startup-Shutdown Error? > > > > I've git the following code in the main form for a project: > > [NonSerialized] > > protected static readonly ILog log = > LogManager.GetLogger("errorlog"); > > public MasterProject() { > > > > InitializeComponent(); > > log.Info("Application Started"); > > } > > private void MasterProject_FormClosed(object sender, > FormClosedEventArgs e) > > { > > log.Info("Application Ended"); > > } > > > > > > This is the log: > > 2006-12-04 18:21:27,508 [860] INFO errorlog - Application Started > > 2006-12-04 18:21:27,508 [860] INFO errorlog - Application Started > > 2006-12-04 18:21:29,883 [860] INFO errorlog - Application Ended > > 2006-12-04 18:21:29,883 [860] INFO errorlog - Application Ended > > > > Why are the entries duplicated? I have stepped this in the debugger and each > call is only executed once. > > > > Thank you, > > de > > > > > > > > > > > > >