Skip to Content
Mastering ArcGIS Enterprise Administration
book

Mastering ArcGIS Enterprise Administration

by Chad Cooper
October 2017
Intermediate to advanced
382 pages
11h 26m
English
Packt Publishing
Content preview from Mastering ArcGIS Enterprise Administration

Logs

We have discussed logs at length throughout this book; in Chapter 9, ArcGIS Enterprise Standards and Best Practices, we showed how to set up a daiquiri logger, and, earlier in this chapter, we put that same daiquiri logger to work. Let's talk about them one more time. If you have a Python script that runs, or is run on any sort of schedule, you need to have logging enabled in it. Having logging in your scripts not only helps you figure out what went wrong last night when it ran and failed at 2 A.M., but logging gives you a history of your runs (so long as you implement your logging to not overwrite the same log file with every run; for example, with a daiquiri TimedRotatingFile output) and provides accountability, showing that your processes ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering ArcGIS Server Development with JavaScript

Mastering ArcGIS Server Development with JavaScript

Raymond Kenneth Doman

Publisher Resources

ISBN: 9781788297493Supplemental Content