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
89a01cd4
Kaydet (Commit)
89a01cd4
authored
Nis 02, 2008
tarafından
Vinay Sajip
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Added updates with respect to recent changes to TimedRotatingFileHandler.
üst
b7edfc4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
logging.rst
Doc/library/logging.rst
+5
-4
No files found.
Doc/library/logging.rst
Dosyayı görüntüle @
89a01cd4
...
@@ -1670,10 +1670,11 @@ timed intervals.
...
@@ -1670,10 +1670,11 @@ timed intervals.
The system will save old log files by appending extensions to the filename.
The system will save old log files by appending extensions to the filename.
The extensions are date-and-time based, using the strftime format
The extensions are date-and-time based, using the strftime format
``%Y-%m-%d_%H-%M-%S`` or a leading portion thereof, depending on the rollover
``%Y-%m-%d_%H-%M-%S`` or a leading portion thereof, depending on the
interval. If *backupCount* is nonzero, at most *backupCount* files will be
rollover interval. If *backupCount* is nonzero, at most *backupCount* files
kept, and if more would be created when rollover occurs, the oldest one is
will be kept, and if more would be created when rollover occurs, the oldest
deleted.
one is deleted. The deletion logic uses the interval to determine which
files to delete, so changing the interval may leave old files lying around.
.. method:: TimedRotatingFileHandler.doRollover()
.. method:: TimedRotatingFileHandler.doRollover()
...
...
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