I have a log file in this format:
2016-01-21 01:56:48,586 [http-nio-8320-exec-54] INFO config.web.login - Successful login. Username: XYZ, xxxxx
How do I grep this file and get only the lines where the time is between 1:50:00 and 1:56:00 and where the string config.web.login - Successful login. Username: XYZ
is present? I'm trying to count the number of successful logins for a certain username.