On Mon, 2019-04-01 at 07:57 -0400, Daniel Klco wrote:
> I'm assuming the timing of this announcement is not accidental.
> Having just
> returned from Adobe Summit and knowing they are one of the largest
> users of
> Apache Sling, why not aligning with what I heard at the event:
> 
> revolutionary-customer-experience-platform-experiencing-digital-
> transformation-experiences-serverless.log

No, the timing is not accidental :-)

> 
> 
> On a less facetious note, the idea of sling.log does have some merits
> as
> the error.log also is logging status events, though I wonder how many
> log
> analysis scripts will need to be updated by downstream consumers.

Yes, this has come up from Konrad as well. I will start a different
discussion for it, but tomorrow :-)

Thanks,

Robert

> 
> On Mon, Apr 1, 2019, 7:30 AM Konrad Windszus <konra...@gmx.de> wrote:
> 
> > +1 to sling.log
> > -1 to success.log (because errors are still contained in there)
> > 
> > Konrad
> > 
> > > On 1. Apr 2019, at 10:18, Roy Teeuwen <r...@teeuwen.be> wrote:
> > > 
> > > Hey Robert,
> > > 
> > > Why not call it sling.log? or status.log? Because it will still
> > > log
> > errors / exceptions in the success.log this way
> > > Greets,
> > > Roy
> > > 
> > > > On 1 Apr 2019, at 09:19, Robert Munteanu <romb...@apache.org>
> > > > wrote:
> > > > 
> > > > Hi,
> > > > 
> > > > I think for some time we have overlooked the operational
> > > > aspects of
> > > > Apache Sling and that it's high time to address this huge gap
> > > > we have
> > > > between developing with Sling and operating with Sling.
> > > > 
> > > > One of the things that bothers me the most is that everything
> > > > is
> > > > written in the _error_ log file. That is absolutely setting us
> > > > up for
> > > > failure! Everytime I need to see what Sling is doing I have to
> > > > go to
> > > > the _error_ log, and this already brings about the idea of
> > > > _errors_ in
> > > > Sling.
> > > > 
> > > > As we all know, there are no errors in Sling, there is only
> > > > great
> > > > success. I would therefore like to submit this simple patch to
> > > > change
> > > > the default log file name to success.log .
> > > > 
> > > > Given the obviousness of the benefit, this discussion is open
> > > > only for
> > > > today.
> > > > 
> > > > Thanks,
> > > > 
> > > > Robert
> > > > 
> > > > diff --git a/src/main/provisioning/sling.txt
> > > > b/src/main/provisioning/sling.txt
> > > > index 55f2d9b..5a4984c 100644
> > > > --- a/src/main/provisioning/sling.txt
> > > > +++ b/src/main/provisioning/sling.txt
> > > > @@ -134,7 +134,7 @@
> > > > 
> > > >  org.apache.sling.commons.log.LogManager
> > > >    org.apache.sling.commons.log.pattern="%d{dd.MM.yyyy
> > > > HH:mm:ss.SSS}\
> > > > *%level*\ [%thread]\ %logger\ %msg%n"
> > > > -    org.apache.sling.commons.log.file="logs/error.log"
> > > > +    org.apache.sling.commons.log.file="logs/success.log"
> > > >    org.apache.sling.commons.log.level="info"
> > > >    org.apache.sling.commons.log.file.size="'.'yyyy-MM-dd"
> > > >    org.apache.sling.commons.log.file.number=I"7"
> > > > 

Reply via email to