Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...