mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-03 12:24:46 +00:00
Remove unused ID part of loggers.
This commit is contained in:
parent
224061e284
commit
a94269fd5b
4 changed files with 15 additions and 20 deletions
|
|
@ -21,21 +21,21 @@
|
|||
|
||||
##################### logger configuration ##########################
|
||||
# logger output part names:
|
||||
# all (for all parts)
|
||||
# id (a unique ID for each logentry)
|
||||
# realurl (the full url link)
|
||||
# result (valid or invalid, with messages)
|
||||
# extern (1 or 0, only in some logger types reported)
|
||||
# base (base href=...)
|
||||
# name (<a href=...>name</a> and <img alt="name">)
|
||||
# parenturl (if any)
|
||||
# info (some additional info, e.g. FTP welcome messages)
|
||||
# warning (warnings)
|
||||
# dltime (download time)
|
||||
# checktime (check time)
|
||||
# url (the original url name, can be relative)
|
||||
# intro (the blurb at the beginning, "starting at ...")
|
||||
# outro (the blurb at the end, "found x errors ...")
|
||||
# all For all parts
|
||||
# realurl The full url link
|
||||
# result Valid or invalid, with messages
|
||||
# extern 1 or 0, only in some logger types reported
|
||||
# base <base href=...>
|
||||
# name <a href=...>name</a> and <img alt="name">
|
||||
# parenturl The referrer URL if there is any
|
||||
# info Some additional info, e.g. FTP welcome messages
|
||||
# warning Warnings
|
||||
# dltime Download time
|
||||
# checktime Check time
|
||||
# url The original url name, can be relative
|
||||
# intro The blurb at the beginning, "starting at ..."
|
||||
# outro The blurb at the end, "found x errors ..."
|
||||
# stats Statistics including URL lengths and contents.
|
||||
|
||||
# each Logger can have separate configuration parameters
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ from .. import log, LOG_CHECK, strformat, dummy, configuration, i18n
|
|||
|
||||
_ = lambda x: x
|
||||
Fields = dict(
|
||||
id=_("ID"),
|
||||
realurl=_("Real URL"),
|
||||
cachekey=_("Cache key"),
|
||||
result=_("Result"),
|
||||
|
|
|
|||
|
|
@ -111,8 +111,6 @@ class HtmlLogger (Logger):
|
|||
Write url checking info as HTML.
|
||||
"""
|
||||
self.write_table_start()
|
||||
if self.has_part("id"):
|
||||
self.write_id()
|
||||
if self.has_part("url"):
|
||||
self.write_url(url_data)
|
||||
if url_data.name and self.has_part("name"):
|
||||
|
|
|
|||
|
|
@ -114,8 +114,6 @@ class TextLogger (Logger):
|
|||
"""
|
||||
Write url checking info.
|
||||
"""
|
||||
if self.has_part('id'):
|
||||
self.write_id()
|
||||
if self.has_part('url'):
|
||||
self.write_url(url_data)
|
||||
if url_data.name and self.has_part('name'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue