Re: [dev] how to log a java extensions ?

2008-02-01 Thread Eike Rathke
Hi Oliver,

On Thursday, 2008-01-31 18:35:42 +0100, Oliver Brinzing wrote:

 is it correct that oo has no console output for stdout/stderr ?

No, that's not correct. It is more that Windows does not support stdio
for GUI programs. You may solve that shortcoming by copying the solver's
wntmsci10.pro/bin/guistdio.com to ${installation}/program/soffice.com
and run soffice.com instead of soffice.exe

btw ...

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 -BEGIN PGP SIGNATURE-
 [...]
 -END PGP SIGNATURE-

I suggest you configure Enigmail to sign using PGP/MIME instead of the
old-fashioned inline-PGP, in Thunderbird's Account Settings go to
OpenPGP Security and enable Always use PGP/MIME.
Help: https://enigmail.mozdev.org/documentation/per-account.php

  Eike

-- 
 OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
 SunSign   0x87F8D412 : 2F58 5236 DB02 F335 8304  7D6C 65C9 F9B5 87F8 D412
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
 Please don't send personal mail to the [EMAIL PROTECTED] account, which I use 
for
 mailing lists only and don't read from outside Sun. Use [EMAIL PROTECTED] 
Thanks.


pgpJLxkU3DcGb.pgp
Description: PGP signature


[dev] how to log a java extensions ?

2008-01-31 Thread Oliver Brinzing

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

just thinking about how to simple log a java extension ...

is it correct that oo has no console output for stdout/stderr ?

i know i can use log4j or remote debugging, but what i am really
interessed in is a *simple* java.util.logging.ConsoleLogger,
which can be used within all java extensions ...

can jconsole from the jdk help ?
if started with jconsole.exe 
-J-Djava.util.logging.config.file=C:\Java\logging.properties
(oo java parameter: -Dcom.sun.management.jmxremote)
it will show a console log, but i don't know how to set my own logger ...
I get an error: class not found ...

any hints are welcome ;-)

Oliver
- --

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHogbuTiyrQM/QSkURAsIlAKC8hCU2nPxehJcPrX3KjKJPqx9+2gCdF10W
GmHbjEIziBQE2/V8h+pQPd0=
=GMdo
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]