mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-02-05 11:09:26 +00:00
log start and end
This commit is contained in:
@@ -190,6 +190,7 @@ def main() -> None:
|
|||||||
"""
|
"""
|
||||||
Main function to process images and generate a static image hosting website.
|
Main function to process images and generate a static image hosting website.
|
||||||
"""
|
"""
|
||||||
|
logger.info("starting builder", extra={"version": VERSION})
|
||||||
thumbnails: List[Tuple[str, str, str, bool]] = []
|
thumbnails: List[Tuple[str, str, str, bool]] = []
|
||||||
|
|
||||||
args = parse_arguments(VERSION)
|
args = parse_arguments(VERSION)
|
||||||
@@ -249,6 +250,7 @@ def main() -> None:
|
|||||||
pass
|
pass
|
||||||
finally:
|
finally:
|
||||||
os.remove(lock_file)
|
os.remove(lock_file)
|
||||||
|
logger.info("finished builder", extra={"version": VERSION})
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user