Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
80eed3e6
Commit
80eed3e6
authored
Jul 06, 2010
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor improvements to logging documentation.
parent
dab08963
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
Doc/library/logging.rst
Doc/library/logging.rst
+6
-1
No files found.
Doc/library/logging.rst
View file @
80eed3e6
...
...
@@ -248,7 +248,7 @@ With the logger object configured, the following methods create log messages:
methods
listed
above
,
but
this
is
how
to
log
at
custom
log
levels
.
:
func
:`
getLogger
`
returns
a
reference
to
a
logger
instance
with
the
specified
if
it
is
provided
,
or
``
root
``
if
not
.
The
names
are
period
-
separated
name
if
it
is
provided
,
or
``
root
``
if
not
.
The
names
are
period
-
separated
hierarchical
structures
.
Multiple
calls
to
:
func
:`
getLogger
`
with
the
same
name
will
return
a
reference
to
the
same
logger
object
.
Loggers
that
are
further
down
in
the
hierarchical
list
are
children
of
loggers
higher
up
in
the
list
.
...
...
@@ -1590,6 +1590,11 @@ printed on the console; on the server side, you should see something like::
69
myapp
.
area2
WARNING
Jail
zesty
vixen
who
grabbed
pay
from
quack
.
69
myapp
.
area2
ERROR
The
five
boxing
wizards
jump
quickly
.
Note
that
there
are
some
security
issues
with
pickle
in
some
scenarios
.
If
these
affect
you
,
you
can
use
an
alternative
serialization
scheme
by
overriding
the
:
meth
:`
makePickle
`
method
and
implementing
your
alternative
there
,
as
well
as
adapting
the
above
script
to
use
your
alternative
serialization
.
Using
arbitrary
objects
as
messages
-----------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment