Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions faq/general-troubleshooting-steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ permalink: /faq/general-troubleshooting-steps.html
- Linux, `/opt/dynamsoft/DynamsoftService/log`

2. Set the log level
- For only one client machine, go to the application with Dynamic Web TWAIN integrated, press F12 to open the development tools, switch to "console" tab and enter the command "DWObject.LogLevel = 1" to enable the debugger mode.
- For all client machines, set [ `LogLevel` ]({{site.info}}api/WebTwain_Util.html#loglevel) to 1 in your code. This property should be set as soon as the `WebTwain` instance is created. For example, in the event `Dynamsoft_OnReady`
Option A - Single client machine troubleshooting - go to the application with Dynamic Web TWAIN integrated, press F12 to open the development tools, switch to "console" tab and enter the command "DWObject.LogLevel = 1" to enable the debugger mode.
Option B - For all client machines (application wide) - set [ `LogLevel` ]({{site.info}}api/WebTwain_Util.html#loglevel) to 1 in your code. This property should be set as soon as the `WebTwain` instance is created. For example, in the event `Dynamsoft_OnReady`
```javascript
function Dynamsoft_OnReady() {
DWObject = Dynamsoft.DWT.GetWebTwain("dwtcontrolContainer");
Expand All @@ -41,4 +41,4 @@ permalink: /faq/general-troubleshooting-steps.html
- On macOS, the log files are in `Go > Applications > Dynamsoft > DynamsoftServicex64_17 > {installed version No.} > log`
- On Linux, the log files are in `/opt/dynamsoft/DynamsoftServicex64_17/log`

5. Set log level back to the default value (0) to disable the debugger mode, otherwise the operation speed will be affected.
5. Set log level back to the default value (0) to disable the debugger mode, otherwise the operation speed will be affected.