Ummm, what does TabbedOutput look like?

________________________________
From: mc_line <mc_line_...@yahoo.com.mx>
To: log4net-dev@logging.apache.org
Sent: Monday, May 30, 2011 1:18 PM
Subject: System.FormatException: Index (zero based) must be greater than or 
equal to zero



Hi I keep getting the error bellow but only in a XP while I am not getting
any error in my Win7 development PC.


log4net:ERROR AppenderAttachedImpl: Failed to append to appender []
System.FormatException: Index (zero based) must be greater than or equal to
zero
and less than the size of the argument list.
   at System.Text.StringBuilder.AppendFormat(IFormatProvider provider,
String fo
rmat, Object[] args)
   at System.String.Format(IFormatProvider provider, String format, Object[]
arg
s)
   at LauncherGUI.TestOutputDisplay.TabbedOutput.DoAppend(LoggingEvent
loggingEv
ent)
   at log4net.Util.AppenderAttachedImpl.AppendLoopOnAppenders(LoggingEvent
loggi
ngEvent)


Anyone has any idea. This is killing me????????????






This is my code to configure the appended

_TabbedOutput = new TabbedOutput();
log4net.Config.BasicConfigurator.Configure(_TabbedOutput);

          
((log4net.Repository.Hierarchy.Hierarchy)log4net.LogManager.GetRepository()).Root.AddAppender(_TabbedOutput);


Thanks
-- 
View this message in context: 
http://old.nabble.com/System.FormatException%3A-Index-%28zero-based%29-must-be-greater-than-or-equal-to-zero-tp31734898p31734898.html
Sent from the Log4net - Dev mailing list archive at Nabble.com.

Reply via email to