Forum Discussion
Capturing load sys config verify errors to a file
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?
Try using
tmsh load sys config verify &> /path/name.txt
to get both standard error and command output
- iaineNacreous
Try using
tmsh load sys config verify &> /path/name.txt
to get both standard error and command output
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com