UpBack! debug logs offer a more detailed insight into what happens during the execution of jobs, providing valuable data that can assist in debugging processes.
To enable debug mode, from the server console you can type the following commands:
mkdir /etc/systemd/system/upback-agent.service.d
echo -e '[Service]\nEnvironment="RUST_LOG=debug"' > /etc/systemd/system/upback-agent.service.d/env.conf
systemctl daemon-reload
systemctl restart upback-agent
To disable debug mode, from the server console you can type the following commands:
rm -rf /etc/systemd/system/upback-agent.service.d
systemctl daemon-reload
systemctl restart upback-agent
Enabling UpBack! debug logs is an essential steps in diagnosing and resolving issues with job failures. By following the simple commands provided, you can gain deeper insights into your server's operations, ensuring smoother and more reliable performance.