Skip to content

Can't turn INFO logs off #111

@harbachonak

Description

@harbachonak

Hey!

I'm using GoogleImageCrawler and trying to turn the INFO logs off, so I see only warning and errors in cmd. Am I doing something wrong? Cause INFO logs are still showed. Thanks!

   google_crawler = GoogleImageCrawler(
        feeder_threads=1,
        parser_threads=1,
        downloader_threads=4,
        storage={"root_dir": "pic/"},
    )
    google_crawler_motiv.set_logger(log_level=logging.WARNING) 

    google_crawler .crawl(
        keyword=request,
        max_num=num,
        min_size=(200, 200),
        max_size=None,
        file_idx_offset="auto",
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions