Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-544

How i can write only below part of code in code behind (c#) instead of web.config file " <root><level value="ALL" /> <appender-ref ref="AdoNetAppender" /> <appender-ref ref="RollingFile" /> </root>" Rest of the code will be as it is in web.config file

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • VS 2013

    Description

      How i can write only below part of code in code behind (c#) instead of web.config file
      "
      <root>
      <level value="ALL" />
      <appender-ref ref="AdoNetAppender" />
      <appender-ref ref="RollingFile" />
      </root>"

      Rest of the code will be as it is in web.config file to maintain the multiple type of logs based on different conditions.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nachbarslumpi Dominik Psenner
            mujtabakhan Mujtaba khan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment