Forum Discussion
How to check Error Logs through CLI
Hi,
We are using F5 Load balancer i want to see the error logs through CLI but our device showing "tmos" mode i want to check through normal mode.
Otherwise tell me how to check error logs from "tmos" mode.
)
)
)
)
- natheCirrocumulusSenthil
- Senthil_7991Nimbostratus
Hi,
Thanks for reply....
Show log is not working.....showing syntex error...
if i use quit command it's totally closed....
Sorry...Please advice me any other way to see the logs...
- Guess you've user account role been assigned the tmsh shell. In simple, when you log-in, your directly into the tmos mode. Hope that clears you. From tmos mode to come to bash mode, you need to run this command. run util bash Once your in bash mode, Run a tail command to see live logs or use less command. tail -f /var/log/ltm less /var/log/ltm Remember i've seen in some higher 11.x version, the bash will not be seen. Youre only choice is to use the tmos or login with root use to access bash mode. Or you can change your user role's shell access to bash again from tmsh.
- natheCirrocumulusTry:
- Dayal_141213Nimbostratus
You can login as the root user to the CLI and browse to /var/log/ or You can try run util bash
This will put you in shell prompt and you should be able to browse to /var/log/
Alternatively you could use show /sys log ltm
- Mck9_190625Nimbostratus
At the end of the logs , am getting "log file:" prompt to enter , how do i get rid of it?.
- Ephraim_Mani_21NimbostratusJust hit the "Q" button once on your key board
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