Steve Nyemba 1 hónapja
szülő
commit
0ee2eb7e8e
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      bin/smart-logger

+ 2 - 1
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):