I hereby claim:
- I am dirkjonker on github.
- I am dirkjonker (https://keybase.io/dirkjonker) on keybase.
- I have a public key ASDTyJdIooRiHKVn5g7ZdvwEfTHs-aUOnh30faGyC0Q4UQo
To claim this, I am signing this object:
# this outputs JSON formatted logs which are easy to parse for any logging agent (such as fluentd) | |
# the format conforms to Google Cloud Logging so logs are nicely structured in the logs viewer | |
# see also: https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#httprequest | |
# put the following lines in your nginx config | |
# /etc/nginx/nginx.conf | |
log_format json_combined escape=json | |
'{' | |
'"time":"$msec",' |
import datetime | |
import hashlib | |
import pathlib | |
import sys | |
import piexif | |
PIC_ROOT = pathlib.Path.home() / 'Pictures' |
I hereby claim:
To claim this, I am signing this object: