Skip to content

Commit 23b874c

Browse files
committed
new powershell, docker and logging resources
1 parent adde14a commit 23b874c

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

content/pages/02-development-environments/10-powershell.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,6 @@ of a Python programmer's
4949
* [PowerShell Core support in AWS Lambda](https://aws.amazon.com/blogs/developer/announcing-lambda-support-for-powershell-core/)
5050
is an announcement post that PowerShell can be used in AWS Lambda Functions
5151
along with how to get started.
52+
53+
* [PowerShellBuild](https://github.com/psake/PowerShellBuild) provides common
54+
reusable tasks for building PowerShell modules.

content/pages/05-deployment/36-docker.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ on Amazon Web Services, Google Compute Engine, Linode, Rackspace or elsewhere.
114114
is a killer tutorial that shows how to combine Docker with CircleCI to
115115
continuously deploy a Flask application.
116116

117+
* [Building smaller Python Docker images](https://simonwillison.net/2018/Nov/19/smaller-python-docker-images/)
118+
examines how to inspect layers in Dockerfiles and minimize the
119+
overhead of what images contain for better performance.
120+
117121
* [Deploying Django Applications in Docker](http://handlebarcreative.tumblr.com/post/104881545637/deploying-django-applications-in-docker)
118122
explains some of the concepts behind using Docker for Python deployments and
119123
shows how to specifically use it for deploying Django.

content/pages/06-devops/14-logging.markdown

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,22 +92,37 @@ certain threshold.
9292
[intro to logging](http://www.blog.pythonlibrary.org/2012/08/02/python-101-an-intro-to-logging/)
9393
presents the Python logging module and how to use it.
9494

95+
* [Understanding Python's logging module](https://www.electricmonk.nl/log/2017/08/06/understanding-pythons-logging-module/)
96+
clears up some misconceptions about how pattern matching with logging
97+
hierarchies works and provides a few clear diagrams to visually explain
98+
logging handlers.
99+
100+
* [Logging Cookbook](https://docs.python.org/3/howto/logging-cookbook.html)
101+
contains useful code snippets to easily add logging to your own applications.
102+
103+
* [Logging in Python](https://realpython.com/python-logging/) explains
104+
the logging module in the Python standard library, configuration
105+
settings, handlers and how to log data.
106+
95107
* [A Brief Digression About Logging](https://lukasa.co.uk/2014/05/A_Brief_Digression_About_Logging/)
96108
is a short post that gets Python logging up and running quickly.
97109

98110
* [Taking the pain out of Python logging](https://hynek.me/articles/taking-some-pain-out-of-python-logging/)
99-
shows a logging set up with uWSGI.
111+
provides a logging set up with uWSGI.
100112

101113
* [Good logging practice in Python](http://victorlin.me/posts/2012/08/26/good-logging-practice-in-python)
102114
shows how to use the standard library to log data from your application.
103115
Definitely worth a read as most applications do not log nearly enough
104116
output to help debuggin when things go wrong, or to determine if something
105117
is going wrong.
106118

119+
* [A guide to logging in Python](https://opensource.com/article/17/9/python-logging)
120+
has some clear, simple diagrams to explain how logging works in Python
121+
applications.
122+
107123
* [Django Logging, the Right Way](https://lincolnloop.com/blog/django-logging-right-way/)
108124
covers a few Python logging techniques and then goes into how you use them
109125
with your [Django](/django.html) projects.
110-
111126

112127
* Django's 1.3 release brought unified logging into project configurations.
113128
This [post shows how to set up logging](http://www.djm.org.uk/how-to-log-file-django-13-and-above/)
@@ -118,6 +133,9 @@ certain threshold.
118133
explains a problem with the default Django logging configuration and what
119134
to do about in your project.
120135

136+
* [The Pythonic Guide To Logging](https://timber.io/blog/the-pythonic-guide-to-logging/)
137+
provides a quick introduction to log levels in Python code.
138+
121139
* [Exceptional Logging of Exceptions in Python](https://www.loggly.com/blog/exceptional-logging-of-exceptions-in-python/)
122140
shows how to log errors more accurately to pinpoint the problem instead of
123141
receiving generic exceptions in your logs.

0 commit comments

Comments
 (0)