Limiting individual log size & filtering some information from Logs

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Limiting individual log size & filtering some information from Logs

Debraj Manna
Hi

Can someone let me know if it is possible to control the size of individual
logs like no log statement should be more than 1KB?

Also can you let me know if there is some pattern or filter available that
will allow me to remove certain patterns from my logs & replace it with
some placeholder?
Reply | Threaded
Open this post in threaded view
|

Re: Limiting individual log size & filtering some information from Logs

Debraj Manna
I am not able to upgrade to log4j2 yet. So is it possible to do in log4j?

On Wed, Dec 20, 2017 at 4:54 PM, Debraj Manna <[hidden email]>
wrote:

> Hi
>
> Can someone let me know if it is possible to control the size of
> individual logs like no log statement should be more than 1KB?
>
> Also can you let me know if there is some pattern or filter available that
> will allow me to remove certain patterns from my logs & replace it with
> some placeholder?
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Limiting individual log size & filtering some information from Logs

Ralph Goers
All of the expertise here is focused on Log4j 2. You’d probably have better luck with this question on StackOverflow.

Ralph

> On Dec 20, 2017, at 5:30 AM, Debraj Manna <[hidden email]> wrote:
>
> I am not able to upgrade to log4j2 yet. So is it possible to do in log4j?
>
> On Wed, Dec 20, 2017 at 4:54 PM, Debraj Manna <[hidden email]>
> wrote:
>
>> Hi
>>
>> Can someone let me know if it is possible to control the size of
>> individual logs like no log statement should be more than 1KB?
>>
>> Also can you let me know if there is some pattern or filter available that
>> will allow me to remove certain patterns from my logs & replace it with
>> some placeholder?
>>
>>
>>



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Limiting individual log size & filtering some information from Logs

Debraj Manna
Ohk.

On Wed, Dec 20, 2017 at 7:18 PM, Ralph Goers <[hidden email]>
wrote:

> All of the expertise here is focused on Log4j 2. You’d probably have
> better luck with this question on StackOverflow.
>
> Ralph
>
> > On Dec 20, 2017, at 5:30 AM, Debraj Manna <[hidden email]>
> wrote:
> >
> > I am not able to upgrade to log4j2 yet. So is it possible to do in log4j?
> >
> > On Wed, Dec 20, 2017 at 4:54 PM, Debraj Manna <[hidden email]>
> > wrote:
> >
> >> Hi
> >>
> >> Can someone let me know if it is possible to control the size of
> >> individual logs like no log statement should be more than 1KB?
> >>
> >> Also can you let me know if there is some pattern or filter available
> that
> >> will allow me to remove certain patterns from my logs & replace it with
> >> some placeholder?
> >>
> >>
> >>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>