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?

...

From the mininet-onos> prompt:

onos log:display

onos log:tail    # hit control-c to quit

sh tail /tmp/onos1/log

From a shell prompt:

tail /tmp/onos1/log

 

How can I look at the onos-service log file (which usually doesn't contain much of anything unless there are errors starting karaf) for onos1? 

...