View Full Version : Difference between two log methods

06-29-2004, 01:19 AM

I found two ways of logging events in Universal Installer.
One is LogService, another is com.installshield.util.Log;

First option works fine. I can write the log messages to the file I designate. The problem is why I cannot use the second one.

my code is listed here,
logEvent(this, Log.WARNING, "Test Log function in CommonDBInstall");

06-30-2004, 02:40 PM
In what way does the call to logEvent fail?

The logEvent method is preferable to using the LogService methods directly, since logEvents writes records using the same format as built-in log events...

07-01-2004, 01:53 AM
Hi Robert,

The messages I wrote in logEvent just don't show up in the log file. Do you know what conditions should I meet before I can write messages using logEvent?