-
Notifications
You must be signed in to change notification settings - Fork 306
How to debug
If you have any issues occurring in RedisInsight, you can follow the steps below to get more information about the errors and find their root cause.
If you experience connection issues, try these steps.
Run the following command to launch RedisInsight in debug mode to investigate connection issues:
- Windows OS:
cmd /C “set DEBUG=ioredis* && .\RedisInsight.exe”
- MacOS (from the
/Applications
folder):
DEBUG=ioredis* open RedisInsight.app
- Linux OS:
DEBUG=ioredis* redisinsight
Open logs to investigate errors. Usually, they are located here:
users/local_user/.redisinsight
- Windows OS:
cmd /C “set DEBUG=* && .\RedisInsight.exe”
- MacOS (from the
/Applications
folder):
DEBUG=* open RedisInsight.app
- Linux OS:
DEBUG=* redisinsight
- Windows OS:
cmd /C “set STDOUT_LOGGER=true && set LOG_LEVEL=debug && set LOGGER_OMIT_DATA=false && .\RedisInsight.exe”
- MacOS (from the
/Applications
folder):
LOG_LEVEL=debug LOGGER_OMIT_DATA=false open RedisInsight.app
- Linux OS:
LOG_LEVEL=debug LOGGER_OMIT_DATA=false redisinsight
NOTE: if you use LOGGER_OMIT_DATA=false
, logs may contain sensitive data.
- Windows OS:
cmd /C “set STDOUT_LOGGER=true && set LOG_LEVEL=debug && set LOGGER_OMIT_DATA=false && set DEBUG=* && .\RedisInsight.exe”
- MacOS (from the
/Applications
folder):
LOG_LEVEL=debug LOGGER_OMIT_DATA=false DEBUG=* open RedisInsight.app
- Linux OS:
LOG_LEVEL=debug LOGGER_OMIT_DATA=false DEBUG=* redisinsight
NOTE: if you use LOGGER_OMIT_DATA=false
or DEBUG=*
, logs may contain sensitive data.