Skip to content

Commit

Permalink
update usage about FindStr in LogViewer
Browse files Browse the repository at this point in the history
also provide download link for LogViewer V2
  • Loading branch information
tianyiliuMSFT committed Nov 28, 2023
1 parent 1b0d7b5 commit 067a311
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions kb/000000_How to collect HPC Pack logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,27 @@ All client logs are under at %CCP_LOGROOT_USR% on the client machine. In a defau
Use the following GUI tool

* LogViewerUI – LogViewerUI is a graphical tool that can parse HPC Pack service logs. It is available here: https://hpconlineservice.blob.core.windows.net/logviewer/LogViewer.UI.application
* LogViewerUI v2 - More powerful in parsing log files and filtering. It is available here:
ClickOnce installation:
https://hpconlineservice.blob.core.windows.net/logviewerv2/LogViewer.UI.application
XCOPY Package:

https://hpconlineservice.blob.core.windows.net/logviewerv2green/LogViewer_2.0.0.7.zip

> [!Tips]
>
> You can use the above tool to view the content and check the timespan of a bin log file, so that you can collect the correct log files for issue troubleshooting. Note that the timestamps for all log messages are in **UTC time**. You may also use the FindStr feature to search the log files that contain a key word from all log files under a specific folder.
* Search logs via FindStr:
1. Locate the directory that stores the logs. For example: C:\code\logs.
![image info](./src/images/directory.png)

2. Click `FindStr`. Fill in the `Filters`. Leave the `Skim` as default (-1). Browse the folder that stores the logs. Press `Find`, it will find the log files that contain any log that meets the filter. You can then open the logs by double-clicking the logs below.
![image info](./src/images/findstr.png)

4. You can find more about filter in `Help`.
![image info](./src/images/help.png)


### 3. How to collect logs for Job scheduling issue

Expand Down
Binary file added kb/src/images/directory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added kb/src/images/findstr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added kb/src/images/help.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 067a311

Please sign in to comment.