Skip to content

Instantly share code, notes, and snippets.

@clayote
Created July 10, 2017 22:00
Show Gist options
  • Save clayote/f017a9a7dd93918b0d3dfe04706ff92d to your computer and use it in GitHub Desktop.
Save clayote/f017a9a7dd93918b0d3dfe04706ff92d to your computer and use it in GitHub Desktop.
Better log
[7fe602771700] INFO: Starting Radicale
[7fe602771700] DEBUG: Authentication type is htpasswd
[7fe602771700] DEBUG: Listening to localhost port 37358
[7fe602771700] DEBUG: Radicale server ready
[7fe5f8a89700] INFO: PROPFIND request for /zack@zacharyspector.com/ with depth 1 received from 127.0.0.1 using "Thunderbird CardBook/19.7 Lightning/5.4.2.1"
[7fe5f8a89700] DEBUG: Request headers:
{'CONTENT_LENGTH': '126',
'CONTENT_TYPE': 'application/xml; charset=utf-8',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': '*/*',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
'HTTP_AUTHORIZATION': 'Basic **masked**',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_DEPTH': '1',
'HTTP_HOST': 'localhost:37358',
'HTTP_USER_AGENT': 'Thunderbird CardBook/19.7 Lightning/5.4.2.1',
'PATH_INFO': '/zack@zacharyspector.com/',
'QUERY_STRING': '',
'REMOTE_ADDR': '127.0.0.1',
'REMOTE_HOST': '',
'REQUEST_METHOD': 'PROPFIND',
'SCRIPT_NAME': '',
'SERVER_NAME': 'localhost',
'SERVER_PORT': '37358',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'WSGIServer/0.2',
'wsgi.errors': <_io.StringIO object at 0x7fe5ff641a68>,
'wsgi.file_wrapper': <class 'wsgiref.util.FileWrapper'>,
'wsgi.input': <_io.BufferedReader name=6>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}
[7fe5f8a89700] DEBUG: Sanitized script name:
[7fe5f8a89700] DEBUG: Sanitized path: /zack@zacharyspector.com/
[7fe5f8a89700] DEBUG: Rights type 'owner_only'
[7fe5f8a89700] DEBUG: Test if 'zack@zacharyspector.com:zack@zacharyspector.com' matches against '.+:zack\@zacharyspector\.com(/.*)?' from section 'rw'
[7fe5f8a89700] DEBUG: Section 'rw' matches
[7fe5f8a89700] DEBUG: Rights type 'owner_only'
[7fe5f8a89700] DEBUG: Test if 'zack@zacharyspector.com:zack@zacharyspector.com' matches against '.+:zack\@zacharyspector\.com(/.*)?' from section 'rw'
[7fe5f8a89700] DEBUG: Section 'rw' matches
[7fe5f8a89700] DEBUG: Rights type 'owner_only'
[7fe5f8a89700] DEBUG: Test if 'zack@zacharyspector.com:' matches against '.+:zack\@zacharyspector\.com(/.*)?' from section 'rw'
[7fe5f8a89700] DEBUG: Section 'rw' does not match
[7fe5f8a89700] DEBUG: Test if 'zack@zacharyspector.com:' matches against '.+:' from section 'r'
[7fe5f8a89700] DEBUG: Section 'r' matches
[7fe5f8a89700] DEBUG: Request content:
<?xml version="1.0" encoding="utf-8"?><D:propfind xmlns:D="DAV:"><D:prop><D:getcontenttype/><D:getetag/></D:prop></D:propfind>
[7fe5f8a89700] DEBUG: Rights type 'owner_only'
[7fe5f8a89700] DEBUG: Test if 'zack@zacharyspector.com:zack@zacharyspector.com' matches against '.+:zack\@zacharyspector\.com(/.*)?' from section 'rw'
[7fe5f8a89700] DEBUG: Section 'rw' matches
[7fe5f8a89700] DEBUG: Rights type 'owner_only'
[7fe5f8a89700] DEBUG: Test if 'zack@zacharyspector.com:zack@zacharyspector.com' matches against '.+:zack\@zacharyspector\.com(/.*)?' from section 'rw'
[7fe5f8a89700] DEBUG: Section 'rw' matches
[7fe5f8a89700] DEBUG: zack@zacharyspector.com has read access to collection zack@zacharyspector.com
[7fe5f8a89700] DEBUG: Rights type 'owner_only'
[7fe5f8a89700] DEBUG: Test if 'zack@zacharyspector.com:zack@zacharyspector.com' matches against '.+:zack\@zacharyspector\.com(/.*)?' from section 'rw'
[7fe5f8a89700] DEBUG: Section 'rw' matches
[7fe5f8a89700] DEBUG: zack@zacharyspector.com has write access to collection zack@zacharyspector.com
[7fe5f8a89700] DEBUG: Rights type 'owner_only'
[7fe5f8a89700] DEBUG: Test if 'zack@zacharyspector.com:zack@zacharyspector.com/42e5f4a018f5ffd915aec9b3e41ba91e6e09fe7b4d0e62a63e80088dbd96abbe' matches against '.+:zack\@zacharyspector\.com(/.*)?' from section 'rw'
[7fe5f8a89700] DEBUG: Section 'rw' matches
[7fe5f8a89700] DEBUG: zack@zacharyspector.com has read access to collection zack@zacharyspector.com/42e5f4a018f5ffd915aec9b3e41ba91e6e09fe7b4d0e62a63e80088dbd96abbe
[7fe5f8a89700] DEBUG: Rights type 'owner_only'
[7fe5f8a89700] DEBUG: Test if 'zack@zacharyspector.com:zack@zacharyspector.com/42e5f4a018f5ffd915aec9b3e41ba91e6e09fe7b4d0e62a63e80088dbd96abbe' matches against '.+:zack\@zacharyspector\.com(/.*)?' from section 'rw'
[7fe5f8a89700] DEBUG: Section 'rw' matches
[7fe5f8a89700] DEBUG: zack@zacharyspector.com has write access to collection zack@zacharyspector.com/42e5f4a018f5ffd915aec9b3e41ba91e6e09fe7b4d0e62a63e80088dbd96abbe
[7fe5f8a89700] DEBUG: Rights type 'owner_only'
[7fe5f8a89700] DEBUG: Test if 'zack@zacharyspector.com:zack@zacharyspector.com/5ff412ed5e3712e5a560ddddbe8ab0e09bd0ca4557051ba3b5a502048790de29' matches against '.+:zack\@zacharyspector\.com(/.*)?' from section 'rw'
[7fe5f8a89700] DEBUG: Section 'rw' matches
[7fe5f8a89700] DEBUG: zack@zacharyspector.com has read access to collection zack@zacharyspector.com/5ff412ed5e3712e5a560ddddbe8ab0e09bd0ca4557051ba3b5a502048790de29
[7fe5f8a89700] DEBUG: Rights type 'owner_only'
[7fe5f8a89700] DEBUG: Test if 'zack@zacharyspector.com:zack@zacharyspector.com/5ff412ed5e3712e5a560ddddbe8ab0e09bd0ca4557051ba3b5a502048790de29' matches against '.+:zack\@zacharyspector\.com(/.*)?' from section 'rw'
[7fe5f8a89700] DEBUG: Section 'rw' matches
[7fe5f8a89700] DEBUG: zack@zacharyspector.com has write access to collection zack@zacharyspector.com/5ff412ed5e3712e5a560ddddbe8ab0e09bd0ca4557051ba3b5a502048790de29
[7fe5f8a89700] DEBUG: Response content:
<?xml version="1.0"?>
<multistatus xmlns="DAV:">
<response>
<href>/zack%40zacharyspector.com/</href>
<propstat>
<prop>
<getetag />
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<getcontenttype />
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/zack%40zacharyspector.com/42e5f4a018f5ffd915aec9b3e41ba91e6e09fe7b4d0e62a63e80088dbd96abbe/</href>
<propstat>
<prop>
<getcontenttype>text/calendar</getcontenttype>
<getetag>013a792efac6d11c7e54c2d0981626ea3c05c40d3ffa403b3d5d2d22b12758fa</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
<response>
<href>/zack%40zacharyspector.com/5ff412ed5e3712e5a560ddddbe8ab0e09bd0ca4557051ba3b5a502048790de29/</href>
<propstat>
<prop>
<getcontenttype>text/vcard</getcontenttype>
<getetag>a2958b1ed5c9b85c81e52bab6e719bdb0412538809e2ce4034fb3c62eab592df</getetag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>
[7fe5f8a89700] INFO: PROPFIND answer status for /zack@zacharyspector.com/ with depth 1 in 9.261 seconds: 207 Multi-Status
^C[7fe602771700] INFO: Stopping Radicale
[7fe602771700] DEBUG: Cleaning up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment