You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Lenny Primak <lp...@hope.nyc.ny.us> on 2011/10/29 20:56:37 UTC

Ability to stop logging user errors?

I just put out a test web site to 50 users. 
We have enterprise monitoring software that sends emails to all the bosses when an error is logged in the web site. 

Right now, errors such as form submits via GET, minification syntax errors and other issues that are clearly user errors are getting emailed to the management. 

Is there any way to turn those off?  
Right now I disablede all logging for IOCRegistry module, but I don't think it's the right solutions. 
Is there a better solution?  Is this worthy of a JIRA?  Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Ability to stop logging user errors?

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Yes, and that's what I did (or the JDK logging equivalent) but I don't think blocking all IOCRegistry errors is the right solution. 



On Oct 31, 2011, at 3:30 AM, Steve Eynon <st...@alienfactory.co.uk> wrote:

> Is this not just a case of updating your Log4J file?
> 
> 
> 
> On 31 October 2011 00:10, Lenny Primak <lp...@hope.nyc.ny.us> wrote:
>> Ha!  Weekends is the best time to work, especially when you need peace and quiet :).
>> I actually an song the RequestExceotbnHandler thing, and it works, but there are still error level logs in the log files from IOCRegistry.
>> 
>> 
>> 
>> On Oct 30, 2011, at 4:19 AM, derkoe <ta...@gmail.com> wrote:
>> 
>>> 
>>> lprimak wrote:
>>>> 
>>>> I just put out a test web site to 50 users.
>>>> We have enterprise monitoring software that sends emails to all the bosses
>>>> when an error is logged in the web site.
>>>> 
>>> 
>>> First of all - working on weekends is no good idea :)
>>> 
>>> 
>>> 
>>>> Right now, errors such as form submits via GET, minification syntax errors
>>>> and other issues that are clearly user errors are getting emailed to the
>>>> management.
>>>> 
>>>> Is there any way to turn those off?
>>>> Right now I disablede all logging for IOCRegistry module, but I don't
>>>> think it's the right solutions.
>>>> Is there a better solution?  Is this worthy of a JIRA?  Thanks!
>>>> 
>>> 
>>> You could simply override RequestExceptionHandler - the default version logs
>>> an error with stacktrace. Your version can do whatever you want (e.g. log a
>>> warning without stacktrace for some exceptions).
>>> See:
>>> http://tapestry.apache.org/overriding-exception-reporting.html#OverridingExceptionReporting-Version2:OverridingtheRequestExceptionHandler
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Ability to stop logging user errors?

Posted by Steve Eynon <st...@alienfactory.co.uk>.
Is this not just a case of updating your Log4J file?



On 31 October 2011 00:10, Lenny Primak <lp...@hope.nyc.ny.us> wrote:
> Ha!  Weekends is the best time to work, especially when you need peace and quiet :).
> I actually an song the RequestExceotbnHandler thing, and it works, but there are still error level logs in the log files from IOCRegistry.
>
>
>
> On Oct 30, 2011, at 4:19 AM, derkoe <ta...@gmail.com> wrote:
>
>>
>> lprimak wrote:
>>>
>>> I just put out a test web site to 50 users.
>>> We have enterprise monitoring software that sends emails to all the bosses
>>> when an error is logged in the web site.
>>>
>>
>> First of all - working on weekends is no good idea :)
>>
>>
>>
>>> Right now, errors such as form submits via GET, minification syntax errors
>>> and other issues that are clearly user errors are getting emailed to the
>>> management.
>>>
>>> Is there any way to turn those off?
>>> Right now I disablede all logging for IOCRegistry module, but I don't
>>> think it's the right solutions.
>>> Is there a better solution?  Is this worthy of a JIRA?  Thanks!
>>>
>>
>> You could simply override RequestExceptionHandler - the default version logs
>> an error with stacktrace. Your version can do whatever you want (e.g. log a
>> warning without stacktrace for some exceptions).
>> See:
>> http://tapestry.apache.org/overriding-exception-reporting.html#OverridingExceptionReporting-Version2:OverridingtheRequestExceptionHandler
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Ability to stop logging user errors?

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Ha!  Weekends is the best time to work, especially when you need peace and quiet :). 
I actually an song the RequestExceotbnHandler thing, and it works, but there are still error level logs in the log files from IOCRegistry. 



On Oct 30, 2011, at 4:19 AM, derkoe <ta...@gmail.com> wrote:

> 
> lprimak wrote:
>> 
>> I just put out a test web site to 50 users. 
>> We have enterprise monitoring software that sends emails to all the bosses
>> when an error is logged in the web site.
>> 
> 
> First of all - working on weekends is no good idea :)
> 
> 
> 
>> Right now, errors such as form submits via GET, minification syntax errors
>> and other issues that are clearly user errors are getting emailed to the
>> management. 
>> 
>> Is there any way to turn those off?  
>> Right now I disablede all logging for IOCRegistry module, but I don't
>> think it's the right solutions. 
>> Is there a better solution?  Is this worthy of a JIRA?  Thanks!
>> 
> 
> You could simply override RequestExceptionHandler - the default version logs
> an error with stacktrace. Your version can do whatever you want (e.g. log a
> warning without stacktrace for some exceptions).
> See:
> http://tapestry.apache.org/overriding-exception-reporting.html#OverridingExceptionReporting-Version2:OverridingtheRequestExceptionHandler
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Ability to stop logging user errors?

Posted by derkoe <ta...@gmail.com>.
lprimak wrote:
> 
> I just put out a test web site to 50 users. 
> We have enterprise monitoring software that sends emails to all the bosses
> when an error is logged in the web site.
>  

First of all - working on weekends is no good idea :)



> Right now, errors such as form submits via GET, minification syntax errors
> and other issues that are clearly user errors are getting emailed to the
> management. 
> 
> Is there any way to turn those off?  
> Right now I disablede all logging for IOCRegistry module, but I don't
> think it's the right solutions. 
> Is there a better solution?  Is this worthy of a JIRA?  Thanks!
> 

You could simply override RequestExceptionHandler - the default version logs
an error with stacktrace. Your version can do whatever you want (e.g. log a
warning without stacktrace for some exceptions).
See:
http://tapestry.apache.org/overriding-exception-reporting.html#OverridingExceptionReporting-Version2:OverridingtheRequestExceptionHandler

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Ability-to-stop-logging-user-errors-tp4949134p4949810.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org