Home
Analytics
BIRT Log Files
Birt_Wiz
<p>Hi,</p>
<p> </p>
<p>I am trying to find the default log files created by BIRT on local machine. I checked folder eclipse\plugins\org.eclipse.birt.report.viewer_x.x.1.v201409151154\birt\logs but nothing is found there. </p>
<p> </p>
<p>The parameter details in web.xml file are as below</p>
<p> </p>
<div><!-- Engine log directory. Defaults to ${birt home}/logs --></div>
<div><context-param></div>
<div><param-name>BIRT_VIEWER_LOG_DIR</param-name></div>
<div><param-value>${birt.viewer.working.path}/logs</param-value></div>
<div></context-param></div>
<div> </div>
<div>Can someone please let me know how to generate log files in default or any local folder. Thank you.</div>
Find more posts tagged with
Comments
Clement Wong
<p>Is this for the Designer, or did you deploy on an application server since you referenced web.xml?</p>
<p> </p>
<p>For the Designer, check your "workspace" directory. Under there you'll find a ".metadata" folder, and then a ".log" file.</p>
Birt_Wiz
<p>Hi,</p>
<p> </p>
<p>Thank you for the response. It is for Designer and found it under Workspace directory as you mentioned. Is it possible to change level of these log files? In some blogs, I read the setting can be changed to FINE, DEBUG etc but not sure if it will work locally too. Any idea? Thank you.</p>
Clement Wong
<p>Eclipse's default log level is set to ALL. (Reference @ <a data-ipb='nomediaparse' href='
http://help.eclipse.org/mars/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html)'>http://help.eclipse.org/mars/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html)</a></p>
;
<p> </p>
<p>Forgot to mention that you can also access the log in the UI menu bar (or in the bottom right pane tab "Error Log"), via <em>Window > Show View > Error Log</em>.</p>
<p> </p>
<p>Also, you can also run eclipsec.exe and launches with a Console window. Then, you can write to it with java.lang.System.out.println(“Helloâ€).</p>
<p> </p>
<p>With commercial BIRT, you can write directly to the Eclipse Error Log (and see it in the IDE UI Error Log window/pane) via:</p>
<pre class="_prettyXprint _lang-">
logger = java.util.logging.Logger.getLogger("birt.report.logger");
logger.warning ('Hello world!');
</pre>
Birt_Wiz
<p>Thank you for the detail.</p>