Siproxd Users Guide
Prev | Chapter 6. Troubleshooting | Next

# 6.2. Create a Debug Log

The easiest way to generate a debug log is:

1. make sure siproxd is not started as daemon ('daemonize = 0' in the config file)

2. start siproxd: `$ ./siproxd -d -1 2>debug.log`

3. reproduce the error

4. include the generated `debug.log` in your error report

Another possibility of to use TCP logging. This method is recommended if you run siproxd on a router with limited disk space (e.g. an embedded system). To enable TCP logging:

1. Edit the configuration file and set `debug_port` to 5050 (or any other TCP port number you like).

2. Restart siproxd

3. `$ telnet <IP_of_siproxd> 5050 > debug.log`

You may prefer to use netcat instead of telnet. Note: The TCP debug port is bound to all available interfaces on the system, make sure no unauthorized people (like from the outbound network) can connect.

Prev | Home | Next
Troubleshooting | Up | Siproxd crashes