title: netbeans logging tutorial
body: <p>hi i'm working with a netbeans project, that they gave me to work on, and i need to check if the connection to the database (postgres) are working well, and i notice that there are lines in the code like </p>
  
  <pre><code>static Logger log = Logger.getLogger(getNivel.class);
  </code></pre>
  
  <p>then</p>
  
  <pre><code>if (user != null) {
              log.debug("Usuario identificado: " + user.getIdUsuario() + "obteniendo su cuadro de mandos");
  </code></pre>
  
  <p>but i don't know how to see if the connection is actually working, because i can't find the log file. so i searched the internet and i found this page
  <a href="http://bits.netbeans.org/dev/javadoc/org-openide-util/org/openide/util/doc-files/logging.html" rel="nofollow">link</a></p>
  
  <p>but i don't really understand what i should do to see those messages. Can anybody help me?</p>