def METHOD_NAME():
    """Start the show.  You haven't seen nothing yet..."""
    # Create logger, start logging
    nav.logs.init_generic_logging(logfile=LOGFILE, stderr=False, read_config=True)
    start_time = time.time()
    _logger.info("--> Starting macwatch <--")
    # For each active macwatch entry, check if mac is active and post event.
    for mac_watch in MacWatch.objects.all():
        _logger.info("Checking for activity on %s", mac_watch.mac)
        if mac_watch.prefix_length:
            mac = mac_watch.get_mac_prefix()
            _logger.debug(
                'Mac-addresses; prefix = %s and upper mac = %s', mac[0], mac[-1]
            )
            cam_objects = Cam.objects.filter(
                mac__gte=mac[0],
                mac__lte=mac[-1],
                end_time=datetime.max,
                netbox__isnull=False,
            )
        else:
            cam_objects = Cam.objects.filter(
                mac=mac_watch.mac, end_time=datetime.max, netbox__isnull=False
            )
        if len(cam_objects) < 1:
            _logger.info("%s is not active", mac_watch.mac)
            continue
        cam_by_mac = {}
        for cam_obj in cam_objects:
            if cam_obj.mac not in cam_by_mac:
                cam_by_mac[cam_obj.mac] = []
            cam_by_mac[cam_obj.mac].append(cam_obj)
        for cams in cam_by_mac.values():
            _logger.debug('Cam-objects length %s; cam-objects = %s', len(cams), cams)
            prioritized_cams = prioritize_location(cams)
            for cam in prioritized_cams:
                macwatch_matches = MacWatchMatch.objects.filter(
                    macwatch=mac_watch, cam=cam
                )
                # Check if the mac-address has moved since last time,
                # continue with next mac if not.
                if len(macwatch_matches) == 1:
                    _logger.info(
                        "Mac-address is active, but have not moved " "since last check"
                    )
                    continue
                if len(macwatch_matches) > 1:
                    # Something strange has happened, delete all but
                    # the match that has posted an event latest in time.
                    _logger.info(
                        '%s matches found for macwatch = %s',
                        len(macwatch_matches),
                        mac_watch.id,
                    )
                    delete_unwanted_matches(macwatch_matches)
                    continue
                # Mac has moved (or appeared). Post event on eventq
                _logger.info(
                    "%s has appeared on %s (%s:%s)",
                    cam.mac,
                    cam.sysname,
                    cam.module,
                    cam.port,
                )
                if post_event(mac_watch, cam):
                    _logger.info("Event posted for macwatch = %s", mac_watch.id)
                    new_macwatch_match = MacWatchMatch(
                        macwatch=mac_watch, cam=cam, posted=datetime.now()
                    )
                    new_macwatch_match.save()
                else:
                    _logger.warning("Failed to post event, no alert will be " "given.")
    _logger.info(
        "--> Done checking for macs in %.3f seconds <--", time.time() - start_time
    )