Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Extending Log4Net

    0 answers - 817 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I have reviewed the sample code and am still not understanding how param's are
    entered. My logger requires a custom parameter as shown below:
    <appender name='SMSAppender' threshold='ERRR'
    type=', CustomLog4NetAppenders'>
    <param name='SMS_Alert_MobileNumbers' value='5628241460'></param>
    </appender>
    In my Custom Appender class that extends AppenderSkeleton I am lost on how to
    setup and map the param value to my class's properties. When I executed my code
    I see the following error:
    log4net:ERRR XmlHierarchyConfigurator: Cannot find Property
    [SMS_Alert_MobileNumbers] to set object on
    []
    Can someone show me or direct me to somewhere where I can see this implemented?

Re: Extending Log4Net


max 4000 letters.
Your nickname that display:
In order to stop the spam: 4 + 4 =
QUESTION ON "Java"

EMSDN.COM