I have a need to use findstr command, however the search strings are dependent on each other. Let me explain.
When I start this particular service, it appends content to a log file. Then, when a specific string is seen in the logs (or in the command window) I can proceed to the next step.
This is the relevant string in Admin_Server.log:
Code: Select all
####<May 01, 2017 6:01:07 AM EDT> <Notice> <WebLogicServer> <stg-hybi> <AdminServer> <main> <<WLS Kernel>> <> <f386c94cf0527dca:-6e5bd079:15bc0e10a05:-8000-000000000000000a> <1493589667102> <BEA-000360> <Server started in RUNNING mode>
So I first need to search for today's date...Then, search for
after that. The reason I need to search for today's date and there are thousands of lines in this file, the only difference being the date.<Server started in RUNNING mode>
How would I go about doing that?
Thank you!