Re: Monitoring and Statistics

2013-02-27 Thread Ian Boston
Yes I agree, mixing logging with monitoring is a bit evil. It's also ugly to do anything beyond a simple incrementing counter. How do you all feel about a service or a singleton covering counters, set values and possibly running mean?. I am less keen on anything that's expensive to record as imp

Re: Monitoring and Statistics

2013-02-27 Thread Bertrand Delacretaz
On Wed, Feb 27, 2013 at 12:56 AM, Ian Boston wrote: ... > public static final Marker COUNT = MarkerFactory.getMarker("count"); > log.info(Counter.COUNT,"read-property");... I agree with others that this looks like abusing the logging API...my initial idea was more like log.info(Markers.INCREMENT

[jira] [Commented] (SLING-2623) Simplifying usage of JAAS based authentication with Repository in OSGi

2013-02-27 Thread Justin Edelson (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13588580#comment-13588580 ] Justin Edelson commented on SLING-2623: --- As a follow up to this issue, we should pro

Re: [POST] Servlet resolution for non existing resource

2013-02-27 Thread Alexander Klimetschek
On 27.02.2013, at 09:39, Shashank Gupta wrote: > Answers-- >> The problem of chunks is that they are >> - not self-describing (what size?) > When you parse multipart request, you should get chunk size. In single part > request, content-length gives chunk size. >> - must all have the same length

[jira] [Created] (SLING-2759) Provide an OpenId Connect Authentication Handler

2013-02-27 Thread Antonio Sanso (JIRA)
Antonio Sanso created SLING-2759: Summary: Provide an OpenId Connect Authentication Handler Key: SLING-2759 URL: https://issues.apache.org/jira/browse/SLING-2759 Project: Sling Issue Type: Wi

[jira] [Updated] (SLING-2759) Provide an OpenId Connect Authentication Handler

2013-02-27 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso updated SLING-2759: - Component/s: Authentication > Provide an OpenId Connect Authentication Handler >

[jira] [Assigned] (SLING-2759) Provide an OpenId Connect Authentication Handler

2013-02-27 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso reassigned SLING-2759: Assignee: Antonio Sanso > Provide an OpenId Connect Authentication Handler > --

[jira] [Resolved] (SLING-2758) Implement toString method for info objects

2013-02-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-2758. - Resolution: Fixed Added missing toString methods > Implement toString me

[jira] [Updated] (SLING-2758) Implement toString method for info objects

2013-02-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-2758: Issue Type: Improvement (was: Bug) > Implement toString method for info objects >

[jira] [Created] (SLING-2758) Implement toString method for info objects

2013-02-27 Thread Carsten Ziegeler (JIRA)
Carsten Ziegeler created SLING-2758: --- Summary: Implement toString method for info objects Key: SLING-2758 URL: https://issues.apache.org/jira/browse/SLING-2758 Project: Sling Issue Type: Bu

Re: [VOTE] Apache Sling Launchpad Base 2.5.0 and Apache Sling Scripting Console 1.0.0

2013-02-27 Thread Carsten Ziegeler
+1 Carsten 2013/2/27 Carsten Ziegeler : > Hi, > > this vote is about a long outstanding release of launchpad base and > a new module, the scripting console > > So please vote for: > > Launchpad Base 2.5.0 > https://issues.apache.org/jira/browse/SLING/fixforversion/12321244 > > Scripting Console 1

[jira] [Commented] (SLING-2681) Support Java 8 as a platform

2013-02-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13588318#comment-13588318 ] Carsten Ziegeler commented on SLING-2681: - Instead of keeping this open, a created

Re: Monitoring and Statistics

2013-02-27 Thread Felix Meschberger
I am pretty sure, I don't like mixing monitoring & statistics with logging. This clearly violates the separation of concern patterns Of two evils, I prefer creating new API over misusing functionality meant for other things ... Regards Felix Am 25.02.2013 um 11:56 schrieb Bertrand Delacre

Re: Monitoring and Statistics

2013-02-27 Thread Carsten Ziegeler
I don't want you to stop experimenting but logging a counter seems to have a lot of practical problems to me, especially when it comes to evaluating them. Carsten 2013/2/27 Ian Boston : > Hi, > I have done a witeboard impl [1] using Bertrand's Marker idea, based > on the current commons-log bundl

[jira] [Resolved] (SLING-2730) Allow JSPs to be excluded from compilation in maven-jspc-plugin

2013-02-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-2730. - Resolution: Fixed Thanks for the updated patch - looks good, I've applied it :)

[jira] [Updated] (SLING-2730) Allow JSPs to be excluded from compilation in maven-jspc-plugin

2013-02-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-2730: Fix Version/s: Maven JSPC Plugin 2.0.8 > Allow JSPs to be excluded from compilation in

[jira] [Resolved] (SLING-2681) Support Java 8 as a platform

2013-02-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-2681. - Resolution: Fixed > Support Java 8 as a platform > > >

[jira] [Assigned] (SLING-2681) Support Java 8 as a platform

2013-02-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler reassigned SLING-2681: --- Assignee: Felix Meschberger > Support Java 8 as a platform >

[jira] [Updated] (SLING-2681) Support Java 8 as a platform

2013-02-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-2681: Fix Version/s: (was: Launchpad Base 2.5.2) > Support Java 8 as a platform > ---

[jira] [Updated] (SLING-2757) Support Java 8 as a platform

2013-02-27 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-2757: Fix Version/s: (was: Launchpad Base 2.5.0) > Support Java 8 as a platform > ---

[jira] [Created] (SLING-2757) Support Java 8 as a platform

2013-02-27 Thread Carsten Ziegeler (JIRA)
Carsten Ziegeler created SLING-2757: --- Summary: Support Java 8 as a platform Key: SLING-2757 URL: https://issues.apache.org/jira/browse/SLING-2757 Project: Sling Issue Type: Improvement

[VOTE] Apache Sling Launchpad Base 2.5.0 and Apache Sling Scripting Console 1.0.0

2013-02-27 Thread Carsten Ziegeler
Hi, this vote is about a long outstanding release of launchpad base and a new module, the scripting console So please vote for: Launchpad Base 2.5.0 https://issues.apache.org/jira/browse/SLING/fixforversion/12321244 Scripting Console 1.0.0 Staging repository: https://repository.apache.org/con

Re: Monitoring and Statistics

2013-02-27 Thread Ian Boston
Hi, I have done a witeboard impl [1] using Bertrand's Marker idea, based on the current commons-log bundle (@Bertrand I wasn't sure if I should take your whiteboard code or not as a starting point). Its a simple concurrent map of AtomicLongs, which I suspect wont be to everyones taste. There is a

RE: [POST] Servlet resolution for non existing resource

2013-02-27 Thread Shashank Gupta
Answers-- >The problem of chunks is that they are >- not self-describing (what size?) When you parse multipart request, you should get chunk size. In single part request, content-length gives chunk size. >- must all have the same length Not mandatory. Why you think so? In merge you append chunk