Debug
NetServer diagnostics
You can turn on and off logging for NetServer directly in Diagnostics section of the web.config or SuperOffice.config file.
- Make sure the key
LogError
is set to True. - Make sure it writes to a file by setting
LogToFile
to True. - Update
LogFolder
if necessary.
The client needs write permission to the folder. Otherwise, NetServer will write the log file to the same location it was started from.
Note
Remember to turn the logging off when it is not needed, as extended logging in NetServer will reduce performance.
How do I find the location of the log file
If you know that the debug is enabled and you just want to find a location of the file without making all users log out from the session, you can do it directly in the config file.
- Find a .config file of the component you are debugging.
- In the
<Diagnostics>
section<add key="LogFolder" value="C:\Log">
will store the path to the log file.
NetServer start-up and performance
SuperOffice Web always takes a long time to start up initially because IIS needs to initiate both the .NET common language runtime and NetServer. As soon as the w3wp.exe IIS work process is up and running you'll see that the performance is better.
We do, however, also have some online services configurable in the web.config file. If you experience poor performance on the second login, you may turn off Logging to SuperOffice Research & Product Developement. Go to Diagnostics and turn off Log to SuperOffice Research & Product Developement.