Toothpick

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Toothpick

Ramiro Diaz Trepat
Hello fellows,
   I needed to start using a logging system, and I thought I try out toothpick.  I red a little about it and I like it's design and the way it is used.
   Unfortunately I installed and it did not work.  I tried the versions from the web site, SqueakMap and SqueakSource.

   If I execute the simple test code, taken from the web site:

LoggingMultiplexer reset.
LoggingMultiplexer current
configureFromIniFile;
startAllLoggers.
LoggingEvent logError: 'Test Message'.
LoggingMultiplexer current stopAllLoggers.
LoggingMultiplexer reset.


With the default toothpick.ini file that logs all sorts of .log and xml files.

I get nothing but empty files, and errors as well (since the second time I run
LoggingEvent logError: 'Test Message'.

I have a Mac with a 3.9 image and the latest VM from John.

Is anybody using it successfully?


Reply | Threaded
Open this post in threaded view
|

Re: Toothpick

Philippe Marschall
2007/2/9, Ramiro Diaz Trepat <[hidden email]>:

> Hello fellows,
>    I needed to start using a logging system, and I thought I try out
> toothpick.  I red a little about it and I like it's design and the way it is
> used.
>    Unfortunately I installed and it did not work.  I tried the versions from
> the web site, SqueakMap and SqueakSource.
>
>    If I execute the simple test code, taken from the web site:
>
> LoggingMultiplexer reset.
> LoggingMultiplexer current
>  configureFromIniFile;
>  startAllLoggers.
> LoggingEvent logError: 'Test Message'.
>
> LoggingMultiplexer current stopAllLoggers.
> LoggingMultiplexer reset.
>
>
>
> With the default toothpick.ini file that logs all sorts of .log and xml
> files.
>
> I get nothing but empty files, and errors as well (since the second time I
> run
> LoggingEvent logError: 'Test Message'.
>
> I have a Mac with a 3.9 image and the latest VM from John.
>
> Is anybody using it successfully?

I earlier reported problems when it comes to file handling, xml
generation and object initialization. Some of the documentation is
just wrong.

Nothing happened ....

Cheers
Philippe