Click here to Skip to main content
15,890,579 members
Home / Discussions / C#
   

C#

 
Generalbackground application Pin
ppp00120-Oct-04 1:31
ppp00120-Oct-04 1:31 
GeneralRe: background application Pin
manivannan.p20-Oct-04 4:42
manivannan.p20-Oct-04 4:42 
GeneralSending Message to all clients Pin
Zapss20-Oct-04 1:23
Zapss20-Oct-04 1:23 
GeneralRe: Sending Message to all clients Pin
Heath Stewart20-Oct-04 6:27
protectorHeath Stewart20-Oct-04 6:27 
GeneralRe: Sending Message to all clients Pin
Zapss20-Oct-04 20:25
Zapss20-Oct-04 20:25 
Generalenabling log4net Pin
samithas20-Oct-04 0:56
samithas20-Oct-04 0:56 
GeneralRe: enabling log4net Pin
Steve Maier20-Oct-04 4:54
professionalSteve Maier20-Oct-04 4:54 
GeneralRe: enabling log4net Pin
samithas21-Oct-04 17:08
samithas21-Oct-04 17:08 
I'm getting the following messages
log4net:ERROR No appender named [LogFileAppender] could be found.
log4net: Appender named [LogFileAppender] not found.
log4net:ERROR No appenders could be found for category (Com.SriLogic.Qsurv.QBuilder.Gui.MainForm).
log4net:ERROR Please initialize the log4net system properly.
here is the config file
/**/
<?xml version="1.0" encoding="utf-8" ?>
<!-- .NET application configuration file

This file must have the exact same name as your application with
.config appended to it. For example if your application is testApp.exe
then the config file must be testApp.exe.config it mut also be in the
same directory as the application. -->
<configuration>
<!-- Register the section handler for the log4net section -->
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
</configSections>
<startup>
<supportedRuntime version="V1.1.4322"/>
</startup>
<appSettings>
<add key="SerialQuestionID" value="1"/>
<add key="log4net.Internal.Debug" value="true"/>

</appSettings>
<!-- This section contains the log4net configuration settings -->
<log4net debug="true">

<logger name="Com.SriLogic.Qsurv.QBuilder.Gui.MainForm">
<level value="INFO"/>
<appender-ref ref="LogFileAppender" />
</logger>
<!-- Define some output appenders -->
<appender name="LogFileAppender" type="log4net.Appender.FileAppender,log4net">
<!--param name="File" value="c:\\error-log.txt" /-->
<file value="C:\\error-log.txt" />
<param name="AppendToFile" value="true" />
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout,log4net">
<param name="ConversionPattern" value="%d [%t] %-5p %c [%x] &lt;%X{auth}&gt; - %m%n" />
</layout>
</appender>
<!-- Setup the root category, add the appenders and set the default priority -->
<root>
<priority value="INFO" />
<appender-ref ref="LogFileAppender" />
</root>
<!-- Specify the priority for some specific categories -->
<category name="Com.SriLogic.Qsurv">
<priority value="INFO" />
<appender-ref ref="LogFileAppender" />
</category>
</log4net>
</configuration>

/**/

how can I fix this?

samitha
GeneralRe: enabling log4net Pin
Steve Maier21-Oct-04 17:28
professionalSteve Maier21-Oct-04 17:28 
Generalintegrated dll and html Pin
ppp00120-Oct-04 0:42
ppp00120-Oct-04 0:42 
GeneralRe: integrated dll and html Pin
DJ_Catboy20-Oct-04 0:52
DJ_Catboy20-Oct-04 0:52 
GeneralRe: integrated dll and html Pin
ppp00120-Oct-04 1:22
ppp00120-Oct-04 1:22 
GeneralRe: integrated dll and html Pin
Heath Stewart20-Oct-04 6:21
protectorHeath Stewart20-Oct-04 6:21 
GeneralRe: integrated dll and html Pin
ppp00120-Oct-04 14:30
ppp00120-Oct-04 14:30 
GeneralRe: integrated dll and html Pin
Heath Stewart20-Oct-04 16:09
protectorHeath Stewart20-Oct-04 16:09 
GeneralRe: integrated dll and html Pin
Heath Stewart20-Oct-04 6:11
protectorHeath Stewart20-Oct-04 6:11 
Generalinstallation kit Pin
hagay_ar20-Oct-04 0:29
hagay_ar20-Oct-04 0:29 
GeneralRe: installation kit Pin
Steve Maier20-Oct-04 5:29
professionalSteve Maier20-Oct-04 5:29 
GeneralSaving TreeView Structure into a Binary Tree Data Structure Pin
vchalla19-Oct-04 23:04
vchalla19-Oct-04 23:04 
GeneralHttpWebRequest.GetResponse takes long time Pin
Member 140279719-Oct-04 22:58
Member 140279719-Oct-04 22:58 
GeneralRe: HttpWebRequest.GetResponse takes long time Pin
yoaz19-Oct-04 23:33
yoaz19-Oct-04 23:33 
GeneralRe: HttpWebRequest.GetResponse takes long time Pin
Member 140279720-Oct-04 1:07
Member 140279720-Oct-04 1:07 
GeneralRe: HttpWebRequest.GetResponse takes long time Pin
yoaz20-Oct-04 4:21
yoaz20-Oct-04 4:21 
QuestionWhy C# (and .NET) does not support multiple-class-inheritance? Pin
Salil Khedkar19-Oct-04 22:43
Salil Khedkar19-Oct-04 22:43 
AnswerRe: Why C# (and .NET) does not support multiple-class-inheritance? Pin
Steve Maier20-Oct-04 5:37
professionalSteve Maier20-Oct-04 5:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.