how to use md.log for logging of a plugin

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

how to use md.log for logging of a plugin

Postby Petar Blagoev » Mon May 21, 2007 11:13 am

Hallo,
I would like to use log4j for logging in my plugin, but I can't find
how to extend the log4j mechanism in MagicDraw to write more
information into md.log. Is there a way to do so? Can't find any
log4j.properties file under MagicDraw folder.
Regards,
Petar
--
Composed with Newz Crawler 1.8 http://www.newzcrawler.com/
Petar Blagoev
 
Posts Rating:

Re: how to use md.log for logging of a plugin

Postby Martynas Lelevicius » Tue May 22, 2007 3:32 am

Hello,

See the <MagicDraw install dir>/data/debug.properties file.

Regards,
--
Martynas Lelevicius
Programmer
No Magic Lithuanian Development Center
Savanoriu pr. 363, LT-49425, Kaunas
P.O. box 2166, LT-44011, Kaunas
Phone: +370 37 324032 Fax: +370 37 320670
E-mail : marte
WWW: http://www.magicdraw.com

----- Original Message -----
From: "nntp://news.nomagic.com/nomagic.products.magicdrawuml.openapi"
<blagoev>
To: "Martynas Lelevicius" <marlel>
Sent: Tuesday, May 22, 2007 2:27 PM
Subject: how to use md.log for logging of a plugin


> Hallo,
> I would like to use log4j for logging in my plugin, but I can't find
> how to extend the log4j mechanism in MagicDraw to write more
> information into md.log. Is there a way to do so? Can't find any
> log4j.properties file under MagicDraw folder.
> Regards,
> Petar
> --
> Composed with Newz Crawler 1.8 http://www.newzcrawler.com/
>

Martynas Lelevicius
 
Posts Rating:


Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 1 guest