[logback-user] logging_event_property

Odelya Holiday odelya at alicanto.com
Wed Jul 11 16:31:16 CEST 2012


I don't see any method there of insertProperties()

Do you mean to extend ch.qos.logback.access.db.DBAppender ? I don't
see a method there like this

On Wed, Jul 11, 2012 at 5:13 PM, ceki <ceki at qos.ch> wrote:
>
> You could subclass DBAppender and override the insertProperties() method
> with an empty block.
>
> --
> Ceki
> http://tinyurl.com/proLogback
>
>
> On 11.07.2012 15:57, Odelya Holiday wrote:
>>
>> logback 1.0.0
>>
>> I get million of records HOSTNAME and value dev
>>
>> On Wed, Jul 11, 2012 at 4:54 PM, ceki <ceki at qos.ch> wrote:
>>>
>>>
>>> Which version of logback are you using? Recent versions of logback should
>>> have fewer values. Could you provide more details on what you are
>>> observing
>>> in this table?
>>>
>>>
>>> On 11.07.2012 15:49, Odelya Holiday wrote:
>>>>
>>>>
>>>> When I tried, the logging event didn't work.
>>>>
>>>> I don't need these values - so is there another way to tell logback
>>>> not to use this table? I prefer not to create a script to delete the
>>>> values on a daily basis.
>>>>
>>>> Thanks
>>>>
>>>> On Wed, Jul 11, 2012 at 3:53 PM, Stein, Eric <steine at locustec.com>
>>>> wrote:
>>>>>
>>>>>
>>>>> It should hold the contents of the MDC
>>>>> (http://logback.qos.ch/manual/mdc.html) when logging to the database.
>>>>> If
>>>>> you set MDC values and there is no logging_event_property table, I
>>>>> would
>>>>> imagine that the database logger would get mildly cranky. It *might* be
>>>>> okay to remove it if you never intend to set MDC values. I guess you
>>>>> could try it and see.
>>>>>
>>>>> Eric
>>>>>
>>>>> -----Original Message-----
>>>>> From: logback-user-bounces at qos.ch [mailto:logback-user-bounces at qos.ch]
>>>>> On Behalf Of Odelya Holiday
>>>>> Sent: Wednesday, July 11, 2012 8:47 AM
>>>>> To: logback-user at qos.ch
>>>>> Subject: [logback-user] logging_event_property
>>>>>
>>>>> Hi!
>>>>>
>>>>> What is the goal of logging_event_property table?
>>>>>
>>>>> Is there a way to remove it or get rid of it?
>>>>>
>>>>> Thanks
>>>>>
>>>>> --
>>>>> Odelya
>>>>
>>>>
>>
>>
>
>
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user



-- 
Odelya


More information about the Logback-user mailing list