FaqRubyNBLogging

The information on this page pertains to NetBeans IDE 6.5. If you are looking for information about Ruby Logging in 6.1, look here. If about Ruby Logging in 6.7, look here.


How to turn on detailed logging to see what NetBeans does behind the scene?

To turn on the detailed logging you might either:

  • adding the text to your $NB_BIN/etc/netbeans.conf, property netbeans_default_options:
-J-Dorg.netbeans.modules.ruby.level=400 -J-Dorg.netbeans.api.ruby.platform.level=400
  • or running NetBeans directly with those parameters, like:
$NB_BIN/bin/netbeans -J-Dorg.netbeans.modules.ruby.level=400 -J-Dorg.netbeans.api.ruby.platform.level=400

To view the log, go to Menu | View | IDE Log File. Often the content of this log is very helpful for Ruby IDE developers when catching a bug in the IDE.

When you attaching log with detailed logging to the issue, it's best to follow this steps:

  1. run the IDE with turned logging on (above)
  2. reproduce the scenario which causes the issue you are encountering
  3. after reproducing attach the log to the issue. The log file is at <home>/<nb-dir>/var/log.
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo