This file is indexed.

/usr/lib/python3/dist-packages/Logbook-0.7.0_20140613.egg-info/PKG-INFO is in python3-logbook 0.7.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Metadata-Version: 1.0
Name: Logbook
Version: 0.7.0-20140613
Summary: A logging replacement for Python
Home-page: http://logbook.pocoo.org/
Author: Armin Ronacher, Georg Brandl
Author-email: armin.ronacher@active-4.com
License: BSD
Description: 
        Logbook
        -------
        
        An awesome logging implementation that is fun to use.
        
        Quickstart
        ``````````
        
        ::
        
            from logbook import Logger
            log = Logger('A Fancy Name')
        
            log.warn('Logbook is too awesome for most applications')
            log.error("Can't touch this")
        
        Works for web apps too
        ``````````````````````
        
        ::
        
            from logbook import MailHandler, Processor
        
            mailhandler = MailHandler(from_addr='servererror@example.com',
                                      recipients=['admin@example.com'],
                                      level='ERROR', format_string=u'''\
            Subject: Application Error for {record.extra[path]} [{record.extra[method]}]
        
            Message type:       {record.level_name}
            Location:           {record.filename}:{record.lineno}
            Module:             {record.module}
            Function:           {record.func_name}
            Time:               {record.time:%Y-%m-%d %H:%M:%S}
            Remote IP:          {record.extra[ip]}
            Request:            {record.extra[path]} [{record.extra[method]}]
        
            Message:
        
            {record.message}
            ''')
        
            def handle_request(request):
                def inject_extra(record, handler):
                    record.extra['ip'] = request.remote_addr
                    record.extra['method'] = request.method
                    record.extra['path'] = request.path
        
                with Processor(inject_extra):
                    with mailhandler:
                        # execute code that might fail in the context of the
                        # request.
        
Platform: any