Hy Logger are hierarchical. Please see log4net documentation. So no need to define level for each logger. You can define level on root logger of your hierarchy
Daniel -------- Original-Nachricht -------- > Datum: Mon, 14 Jun 2010 02:37:59 -0700 (PDT) > Von: jalchr <[email protected]> > An: Rhino Tools Dev <[email protected]> > Betreff: [rhino-tools-dev] Re: Rhino.Etl How to to configure the logging > level? > Hi > Are you implying that EVERY operation has its own logger > so if I have a process with 10 operations, A, B C ... etc > then I have to configure like so > > 1. <logger name="namespace.operations.A"> > <level value="ERROR" /> > </logger> > > 2. <logger name="namespace.operations.B"> > <level value="ERROR" /> > </logger> > ... > Is this how is should be done ? I believe there should be a process > level logging ... or something more flexible ... > Thanks anyway > > On Jun 13, 12:09 pm, LOBOMINATOR <[email protected]> wrote: > > Hy > > Actually it is this.gettype(). When you subclass this is referring to > you implementation. > > > > Ok? > > > > Daniel > > > > Von meinem iPad gesendet > > > > Am 13.06.2010 um 00:20 schrieb jalchr <[email protected]>: > > > > > I have looked at the source code > > > > > protected WithLoggingMixin() > > > { > > > log = LogManager.GetLogger(GetType()); > > > } > > > The log manager is taking the type of the class as the logger name ... > > > so shouldn't the logger be like so > > > > > <logger name="Rhino.Etl.Core.WithLoggingMixin"> > > > <level value="ERROR" /> > > > </logger> > > > > > Thanks > > > > > On Jun 12, 1:12 pm, "LOBOMINATOR" <[email protected]> wrote: > > >> Hy > > > > >> Rhino Etl uses WithLoggingMixin. The logger is named after the > operations > > >> your are executing. Just configure log4net to the appropriate level > you want > > >> to see: for example: > > > > >> <logger name="Com.Fooperations"> > > >> <level value="ERROR" /> > > >> </logger> > > > > >> That's it > > > > >> Daniel > > > > >> -----Ursprüngliche Nachricht----- > > >> Von: [email protected] > > >> [mailto:[email protected]] Im Auftrag von jalchr > > >> Gesendet: Samstag, 12. Juni 2010 11:11 > > >> An: Rhino Tools Dev > > >> Betreff: [rhino-tools-dev] Rhino.Etl How to to configure the logging > level? > > > > >> Hello, > > >> I have a import operation that runs daily with millions of records. > My > > >> application uses log4net to log for activity. Unfortunately, the etl > > >> process is logging every row it works on and that is creating > > >> problems. > > >> So, Isn't there anyway to configure the etl logging output? > > > > >> Thanks > > > > >> -- > > >> You received this message because you are subscribed to the Google > Groups > > >> "Rhino Tools Dev" group. > > >> To post to this group, send email to > [email protected]. > > >> To unsubscribe from this group, send email to > > >> [email protected]. > > >> For more options, visit this group > athttp://groups.google.com/group/rhino-tools-dev?hl=en. > > > > > -- > > > You received this message because you are subscribed to the Google > Groups "Rhino Tools Dev" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > [email protected]. > > > For more options, visit this group > athttp://groups.google.com/group/rhino-tools-dev?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Rhino Tools Dev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rhino-tools-dev?hl=en. -- GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl. Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl -- You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.
