Usually this type of task involve tedious task of opening all the log files during the time duration one by one.
Perhaps there is an easier way possible using the command line. One can use grep command in linux and find command in windows to easily find the name of the log while which contains specific string.
These commands can search the entire siebel server log directory and give you specific file names which contain specific string.
With following command I can find the log file for specific user in entire directory:
find "USER_NAME" C:\Siebel\15.0.0.0.0\ses\siebsrvr\log\*.logWith following command I can find the file with specific Error:
find "SBL-BPR-00162" C:\Siebel\15.0.0.0.0\ses\siebsrvr\log\*.logAnd finally with this command I can find the EAI Object Manager Log which got XML Converter error.
find "SBL-EAI-04112" C:\Siebel\15.0.0.0.0\ses\siebsrvr\log\EAI*.log /c
Isnt that simple? Happy Searching :)
What is the unix equivalent for above find commands
ReplyDeleteWhat is the unix equivalent for above find commands
ReplyDeleteHi kusum, i guess in linux it is much more easier and faster using grep command, please see http://stackoverflow.com/questions/16956810/how-to-find-all-files-containing-specific-text-on-linux
ReplyDeleteThis should help. Jim