Skip to content

tac_plus‐ng: debugging options

Marc Huber edited this page Dec 31, 2024 · 1 revision

In some cases it might make sense to set some debug options when calling tac_plus-ng. First of all, my general recommendation is to run the tactrace.pl utility which outputs quite some debug data, but possibly not all.

Nevertheless, at first try tactrace.pl. It's pretty close to a real-life scenario and may help you resolving whatever issue you're seeing.

If tactrace.pl doesn't help: You can reconfigure with configure --debug, run make, make install and start tac_plus-ng with tac_plus-ng -1 -d -1 -f /path/to/config. -1 will switch to single-process mode, -f keeps the daemon in foreground and -d -1 enables all debug options available (-d -2 would skip configuration parsing, remembering that might prove useful). Debug output will end up in stderr (unless you've specified an alternative output location via debug redirect = <file>).