Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
0513275b
Kaydet (Commit)
0513275b
authored
Nis 19, 2011
tarafından
Vinay Sajip
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Updated documentation on fileConfig().
üst
bafc6a9f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
7 deletions
+21
-7
logging.config.rst
Doc/library/logging.config.rst
+21
-7
No files found.
Doc/library/logging.config.rst
Dosyayı görüntüle @
0513275b
...
...
@@ -74,15 +74,29 @@ in :mod:`logging` itself) and defining handlers which are declared either in
..
versionadded
::
2.7
..
function
::
fileConfig
(
fname
[,
defaults
]
)
..
function
::
fileConfig
(
fname
,
defaults
=
None
,
disable_existing_loggers
=
True
)
Reads
the
logging
configuration
from
a
:
mod
:`
configparser
`\-
format
file
named
*
fname
*.
This
function
can
be
called
several
times
from
an
application
,
allowing
an
end
user
to
select
from
various
pre
-
canned
Reads
the
logging
configuration
from
a
:
mod
:`
configparser
`\-
format
file
named
*
fname
*.
This
function
can
be
called
several
times
from
an
a
pplication
,
a
llowing
an
end
user
to
select
from
various
pre
-
canned
configurations
(
if
the
developer
provides
a
mechanism
to
present
the
choices
and
load
the
chosen
configuration
).
Defaults
to
be
passed
to
the
ConfigParser
can
be
specified
in
the
*
defaults
*
argument
.
and
load
the
chosen
configuration
).
:
param
defaults
:
Defaults
to
be
passed
to
the
ConfigParser
can
be
specified
in
this
argument
.
:
param
disable_existing_loggers
:
If
specified
as
``
False
``,
loggers
which
exist
when
this
call
is
made
are
left
alone
.
The
default
is
``
True
``
because
this
enables
old
behaviour
in
a
backward
-
compatible
way
.
This
behaviour
is
to
disable
any
existing
loggers
unless
they
or
their
ancestors
are
explicitly
named
in
the
logging
configuration
.
..
versionchanged
::
2.6
The
``
disable_existing_loggers
``
keyword
argument
was
added
.
Previously
,
existing
loggers
were
*
always
*
disabled
.
..
function
::
listen
(
port
=
DEFAULT_LOGGING_CONFIG_PORT
)
...
...
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