07-Oct-2022 01:25
If I pipe tmsh load sys config verify to file, and an error is generated, the system message for that error is not captured to the file.
I am simply using:
tmsh load sys config verify >> /path/name.txt
This is piped to the file:
Validating system configuration...
/defaults/asm_base.conf
etc etc
But not this system message:
01070585:3: Virtual server (/Common/somevs) cannot reference rule (/Common/somerule) more than once (check persistence, auth and rules).
Unexpected Error: Validating configuration process failed.
How can I pipe the error to the file also?
Solved! Go to Solution.
07-Oct-2022 03:27
Try using
tmsh load sys config verify &> /path/name.txt
to get both standard error and command output
07-Oct-2022 03:27
Try using
tmsh load sys config verify &> /path/name.txt
to get both standard error and command output