![]() We can also put comments on bookmarks, and there is the shortcut key to navigate in between different bookmarks.In this tool, we can open multiple log file in different tabs.In this tool logs, files get automatically updated when opened.It is a log analysis tool with multiple features like searching, filtering, bookmarking and highlighting the logs.LogExpert tool is a tool for Windows developed to tail the logs.log.debug("-information-") What is a LogExpert tool? Use “log” referencing variable and debug method to log the information we want. In code, we have used “log” as a reference variable referencing getLogger method of Logger Class Logger log = Logger.getLogger("devpinoyLogger") If it is set to false, than every time a new file will be created rather than old file will be used for logging “Append” is used to set append function.“layout” is used to set the format of the log file.“maxBackupIndex” is used to configure maximum number of files to be backup. ![]() ![]() When file reaches this size, a new file will be created with the same name and the old file name will be add as an Index to it. “maxFileSize” is used to configure the maximum size of the log file.“File” is used to give file name in which logs will be saved.file and dest1 are the two identifiers.In the above Example, we have configured log4j to log in two different files named as Selenium.log and Manual.log. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |