Date post: | 10-May-2015 |
Category: |
Technology |
Upload: | salesforce-developers |
View: | 176 times |
Download: | 1 times |
How to use Loggly in Apex for Massive Scale Logging
Simon Goodyear, Beaufort 12, CTO@simongoodyear
Simon GoodyearBeaufort 12, CTO@simongoodyear
What is logging?
Logging
System.debug
• Capture
• Control
• Consume
public static Void debug(LoggingLevel logLevel, Object msg)
An alternative?
Client Org
Our Org
Filter
Datastore
Filter
Capture
Demo 1
Instrumentation• What data should we capture?
• Exceptions• Steps in complex flow• Method returns• Callouts
• More points of capture is genrally better
Control• Try to filter the data you want sent
• Many different way to achieve this• Static resource• Custom setting• Remote site
• Control ultimately with the client
Demo 2
Consume
Demo 3
Bringing it all together
Client Org
Our Org
Filter
Datastore
Filter
Simon Goodyear
@simongoodyear
We want to hear from YOU!
Please take a moment to complete our session survey
Surveys can be found in the “My Agenda” portion of the Dreamforce app