Http log

ACF makes available an http.log giving basic details of cfhttp
requests including: URL, method, return status code and time taken.

Is there a way of logging http calls made by Lucee? I can’t see a
ready made log at either the server or web context levels.

I’m particularly interested in “time taken”.

Thanks
Julian
http://cfsimplicity.com/

1 Like

Hi Julian,

You could use the cfstopwatch and cflog tags to create the log yourself:

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.orgOn 17 October 2015 at 10:28, Julian Halliwell <@Julian_Halliwell> wrote:

ACF makes available an http.log giving basic details of cfhttp
requests including: URL, method, return status code and time taken.

Is there a way of logging http calls made by Lucee? I can’t see a
ready made log at either the server or web context levels.

I’m particularly interested in “time taken”.

Thanks
Julian
http://cfsimplicity.com/


See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your
ticket NOW - http://www.cfcamp.org/

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAC_5VoqF82x%2BeD49yeLPUrRZgcUktu28Dhe6b11Ny89Vvss%2Bow%40mail.gmail.com
.
For more options, visit https://groups.google.com/d/optout.

I’ve updated the docs for cfstopwatch.

FYI, cfstopwatch is Lucee only and not available in ACF.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.orgOn 17 October 2015 at 15:00, Julian Halliwell <@Julian_Halliwell> wrote:

Thanks Scott, but Andrew’s suggestion was simpler for my purposes and
worked fine. Good references to have though, thanks.

Julian.

On October 17, 2015 at 6:29:44 AM CDT, Scott Smith <@Scott_Smith> wrote:

You will want to setup Access logs in Tomcat.

If you are using the native logging that comes with Tomcat take a look at
this

AccessLogValve - Apache Tomcat - Apache Software Foundation

If you want to look into alternative logging, this has some pretty good
examples for SL4Jand Logback.

GitHub - tomcat-slf4j-logback/tomcat-slf4j-logback: Tomcat, SLF4J and Logback integration Releases


See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your
ticket NOW - http://www.cfcamp.org/

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAC_5Vop_Zry4YO27kTX41PC2b_pNQ50TM6cn8hueBxcCo_xhyw%40mail.gmail.com
.
For more options, visit https://groups.google.com/d/optout.

this would be quite useful, file an enhancement in jira?