Steve Nyemba 1 month ago
parent
commit
0ee2eb7e8e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      bin/smart-logger

+ 2 - 1
bin/smart-logger

@@ -30,12 +30,13 @@ import plugin_ix
 
 
 # iregistry = plugins.Registry(meta.__home__)
 # 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):
 def intrusion(path:str='/var/log/auth.log', year:int=datetime.now().year,debug:bool=False):
     """
     """
     This function 
     This function 
     """
     """
     _r = smart.logger.read(path=path,year=year)
     _r = smart.logger.read(path=path,year=year)
+    
     if _r :
     if _r :
         for _id in _r :
         for _id in _r :
             if hasattr(smart.logger,_id):
             if hasattr(smart.logger,_id):