How to set FileWave Server components to debug mode
For troubleshooting, you can temporarily increase FileWave Server logging. Debug logging can help with server, Booster, LDAP collection/syncing, and Software Update catalog issues by adding detail that you or FileWave Support can use during investigation.
Step-by-step guide
To set debug logging for fwxserver.log, fwldap.log, and fwsu.log:
- On a Linux or macOS server, use
/usr/local/etc/server.lvl. - On Linux or macOS, set the debug level with
echo 99 > /usr/local/etc/server.lvl. Theserver.lvlfile may be empty if the debug level has not been set before.
If server.lvl does not exist, create it with a text editor or with echo 99 > /usr/local/etc/server.lvl.
If you only need fwxserver.log in debug mode, no restart is required after changing server.lvl. For LDAP, Software Update, or Booster troubleshooting, restart the relevant FileWave Server services or processes after changing the level.
Set logging back to the standard level after troubleshooting so debug logs do not keep growing unnecessarily.
The logging levels are as follows:
10 : Standard Log Level
99 : Debug Log Level
101: Trace Log Level
To set debug logging for the Django component (filewave_django.log):
- On a Linux or macOS server, go to
/usr/local/filewave/django/filewave/. - Edit
settings_custom.pywithsudo nano settings_custom.py. - Remove the
#beforeDEBUG = True. - Save the file.
- Restart Apache with
sudo fwcontrol apache restart. - Restart Scheduler with
sudo fwcontrol scheduler restart. - Restart client_monitor with
sudo fwcontrol client_monitor restart. - Restart model_update_service with
sudo fwcontrol model_update_service restart.
After troubleshooting, return Django logging to normal by adding the # back before DEBUG = True, then restart the services again.
No comments to display
can debug be set on a FileWave booster (Linux RedHat)?
In reply to #1
Boosters are easier and you can use Booster monitor to change the settings as seen here https://kb.filewave.com/link/222#bkmrk-booster-prefsĀ and just change the debug level.
If we change the log level in `settings_custom.py` we need to restart also other services
- "fwcontrol scheduler restart"
- "fwcontrol client_monitor restart"
- "fwcontrol model_update_service restart"
In reply to #3
Thanks and updated.
No comments to display