Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
How can I look at the karaf log file for (which usually contains ONOS's log messages) for onos1?
There are many ways to do it, including:
mininet-onos> onos log:display
mininet-onos> onos log:tail # hit press control-c to quit
mininet-onos> sh tail /tmp/onos1/log # press control-c to quit
mininet-onos> onos1 more /tmp/onos1.log # press q to quit
$ tail /tmp/onos1/log
The first few methods work when you are at the mininet-onos>
prompt. The last one is for when you are at a shell prompt.
...