Actually, there is a Process level configuration. Use something to
<logger name="namespace.processes.yourProcessName">
<level value="ERROR" />
</logger>
This will control process logging level
Thank you
On Jun 14, 12:37 pm, jalchr <[email protected]> wrote:
> 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.