diff --git a/bin/smart-logger b/bin/smart-logger index af3d2af..35febec 100755 --- a/bin/smart-logger +++ b/bin/smart-logger @@ -30,12 +30,13 @@ import plugin_ix # iregistry = plugins.Registry(meta.__home__) -@_cli.command(name='log-intruder') +@_cli.command(name='login') def intrusion(path:str='/var/log/auth.log', year:int=datetime.now().year,debug:bool=False): """ This function """ _r = smart.logger.read(path=path,year=year) + if _r : for _id in _r : if hasattr(smart.logger,_id):